Caplin Trader 4.8.0

Class: module:caplin/element/styler/EllipsisStyler

module:caplin/element/styler/EllipsisStyler

Constructor

new module:caplin/element/styler/EllipsisStyler()

The ellipsis styler adds a class attribute of 'ellipsis' to elements it is applied to.

EllipsisStyler is typically used in the XML Renderer Framework.

Note: The CSS used alongside the ellipsis styler (text-overflow:elipsis;) may cause the loss of padding or margin applied to inline elements within IE. This may be overcome by using the CSS 'text-indent' property rather than the padding or margin properties.
Extends:

Extends

Methods

style(value, attributes, control)

Applies an ellipsis to the control.
Parameters:
Name Type Description
value Variant the control value.
attributes Map the map of attributes.
control module:caplin/control/Control the control.