Caplin Trader 5.1.0

Class: module:ct-element/styler/RemoveButtonStyler

module:ct-element/styler/RemoveButtonStyler()

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

Applies CSS styles to reflect status states.

RemoveButtonStyler is typically used in the XML Renderer Framework.

Extends:

Extends

Methods

style(vValue, attributes, control)

Styles the supplied control with stale CSS styles, according to the supplied renderer attributes.

Parameters:
Name Type Description
vValue Variant

the value.

attributes Map

the map of attributes.

Properties
Name Type Description
non-stale-tooltip string

the model field representing the record status (object status) shows data as not stale.

stale-tooltip string

the model field representing the record status (object status) shows data as stale.

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