Caplin Trader 4.7.1

Class: module:caplin/element/styler/FlashStyler

module:caplin/element/styler/FlashStyler

Constructor

new module:caplin/element/styler/FlashStyler()

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

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

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.
color-up String <optional>
color style to flash text when the value goes up.
color-down String <optional>
color style to flash text when the value goes down.
backgroundColor-up String <optional>
CSS background-color style to flash text when the value goes up.
backgroundColor-down String <optional>
CSS background-color style to flash text when the value goes down.
oControl module:caplin/control/Control the control.