Caplin Trader 5.1.0

Class: module:ct-element/styler/EllipsisStyler

module:ct-element/styler/EllipsisStyler()

new module:ct-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:ct-control/Control

the control.

Overrides: