Caplin Trader 4.8.0

Class: module:caplin/element/styler/TooltipStyler

module:caplin/element/styler/TooltipStyler

Constructor

new module:caplin/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:caplin/control/Control the control.