reactive-css-properties icon indicating copy to clipboard operation
reactive-css-properties copied to clipboard

Implement static properties from css Houdini

Open adam-cyclones opened this issue 5 years ago • 0 comments

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.

const { myConst } = reCSSProps();

myConst.toConst("#fff", { syntax: '<color>' });
myConst("#fff") // js throws error

adam-cyclones avatar Aug 28 '20 13:08 adam-cyclones