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