Caplin Trader 4.8.0

Class: module:caplin/element/styler/ArrowFlashStyler

module:caplin/element/styler/ArrowFlashStyler

Constructor

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