adam-cyclones / adam-cyclones/reactive-css-properties
Implement static properties from css Houdini
Aperta
enhancement
- Lingua principale
- JavaScript
- Stelle
- 18
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Implement static properties from css Houdini, it was originally decided not to implement, but I think this could be use-full in the case where the value is static and never changes, giving a form of constant value. the method could be a conversion method.
``` js
const { myConst } = reCSSProps();
myConst.toConst("#fff", { syntax: '' });
myConst("#fff") // js throws error
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.