ClassStyler
is typically used in the XML Renderer Framework.
Attributes | Name and Description |
---|---|
|
caplin.element.styler.ClassStyler()
|
Attributes | Name and Description |
---|---|
|
void
style(Variant vValue, Map mAttributes, caplin.control.Control oControl)
Applies a CSS class to a control, conditionally on the value of some state variable. |
►
caplin.element.styler.ClassStyler()
►
void
style(Variant vValue, Map mAttributes, caplin.control.Control oControl)
Applies a CSS class to a control, conditionally on the value of some state variable.
Attribute Options:
Option | Description |
---|---|
state | state variable |
class | CSS class name to add or remove |
Variant | vValue | the control value. |
Map | mAttributes | the map of attributes. |
caplin.control.Control | oControl | the control. |