Caplin Trader 4.0.3

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

Methods

style(vValue, mAttributes, oControl)

Flashes the screen value according to whether the numeric value has gone up or down.
Parameters:
Name Type Description
vValue Variant the control value.
mAttributes 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.
oControl module:caplin/control/Control the control.