Caplin Trader 5.1.0

Class: module:ct-element/styler/ArrowFlashStyler

module:ct-element/styler/ArrowFlashStyler()

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

Flashes the screen value according to whether the numeric value has gone up or down.

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

Extends

Methods

style(value, attributes, control)

Flashes the screen value according to whether the numeric value has gone up or down.

Parameters:
Name Type Description
value Variant

the control value.

attributes Map

the map of attributes.

Properties
Name Type Attributes Description
duration integer

flash duration, in milliseconds .

last-up string <optional>

CSS class set when last value moved up.

last-down string <optional>

CSS class set when last value moved down.

flashing-up string <optional>

CSS class to flash text when the value goes up.

flashing-down string <optional>

CSS class to flash text when the value goes down.

control module:ct-control/Control

the control.

Overrides: