Caplin Trader 5.1.0

Class: module:ct-element/styler/ClearableStyler

module:ct-element/styler/ClearableStyler()

new module:ct-element/styler/ClearableStyler()

Applies CSS styles to reflect status states.

ClearableStyler is typically used in the XML Renderer Framework.

Extends:

Extends

Methods

style(value, attributes, control)

Adds a button for clearing the value, when it isn't clear.

Parameters:
Name Type Description
value Variant

the value.

attributes Map

the map of attributes.

control module:ct-control/Control

the control.

Overrides:

toString() → {String}

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

Overrides:
  • module:ct-element/Styler#toString
Returns:

The string representation

Type
String