Caplin Trader 4.8.0

Class: module:caplin/element/styler/ClassFlashStyler

module:caplin/element/styler/ClassFlashStyler

Constructor

new module:caplin/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:caplin/control/Control the control.