Caplin Trader 5.1.0

Class: module:ct-element/styler/ClassFlashStyler

module:ct-element/styler/ClassFlashStyler()

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

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

ClassFlashStyler 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 int

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 style to flash text when the value goes down.

control module:ct-control/Control

the control.

Overrides: