https://github.com/ymzuiku/flavorcss
Runtime Build Atomic Class: https://gewulian.com
https://github.com/ymzuiku/flavorcss
Last synced: 5 months ago
JSON representation
Runtime Build Atomic Class: https://gewulian.com
- Host: GitHub
- URL: https://github.com/ymzuiku/flavorcss
- Owner: ymzuiku
- License: mit
- Created: 2020-06-17T00:19:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-18T08:41:49.000Z (over 1 year ago)
- Last Synced: 2024-10-16T19:13:54.430Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 3.48 MB
- Stars: 20
- Watchers: 3
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flavorcss
Runtime Build Atomic Class
## Document: [https://gewulian.com](https://gewulian.com)
## Use Auto observer
Auto observer use in MutationObserver.
```html
window.flavorObserver()
```
Use npm:
```sh
npm i flavorcss
```Import in your project
Auto observer html change:
```js
import {flavorObserver} from "flavorcss";flavorObserver()
```## Use className
If you not use MutationObserver, you can manual use className:
```js
import {flavor} from "flavorcss";function App(){
return
}
```