Caplin Trader 5.1.0

Class: module:ct-element/styler/TooltipStyler

module:ct-element/styler/TooltipStyler()

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

Styles a rate control with a tooltip.

TooltipStyler is typically used in the XML Renderer Framework.
Extends:

Extends

Methods

style(value, attributes, control)

Styles a rate control with a tooltip.

The tooltips attribute can be a combination of variables and static text. The current value can be referenced in the tooltip using the {0} token.

Parameters:
Name Type Description
value Variant

the control value.

attributes Map

the map of attributes.

Properties
Name Type Attributes Default Description
tooltip string <optional>
""

the tooltip text to apply.

control module:ct-control/Control

the control.

Overrides: