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(vValue, mAttributes, oControl)
-
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 vValue
Variant the control value. mAttributes
Map the map of attributes. Properties
Name Type Attributes Default Description tooltip
String <optional>
'' the tooltip text to apply. oControl
module:caplin/control/Control the control.