Caplin Trader 4.0.3

Class: module:caplin/element/styler/ClearableStyler

module:caplin/element/styler/ClearableStyler

Constructor

new module:caplin/element/styler/ClearableStyler()

Applies CSS styles to reflect status states. ClearableStyler is typically used in the XML Renderer Framework.

Extends

Methods

style(vValue, mAttributes, oControl)

Adds a button for clearing the value, when it isn't clear.
Parameters:
Name Type Description
vValue Variant the value.
mAttributes Map the map of attributes.
oControl module:caplin/control/Control the control.

toString() → {String}

Returns a human-readable string representation of the styler, which is useful for debugging.
Returns:
The string representation
Type
String