name
Return the class name associated with the given CssStyle.
While it is technically possible for this to crash (create a CssStyle
and never register it), it is safe to dereference this (i.e. !!
) on any style that has been declared as a property (e.g. val MyStyle = CssStyle { ... }
).
Return the class name associated with the given CssStyleVariant.
While this can crash if used on a composite variant (e.g. FirstVariant.then(SecondVariant).name
, it is safe to dereference this (i.e. !!
) on any variant that has been declared as a property (e.g. val MyVariant = SomeStyle.addVariant { ... }
).
Return the class name associated with the given Keyframes.
While it is technically possible for this to crash (create a Keyframes
and never register it), it is safe to dereference this (i.e. !!
) on any keyframes that has been declared as a property (e.g. val MyKeyframes = Keyframes { ... }
).