Caplin Trader 5.0.0

Class: module:ct-element/styler/FlashStyler

module:ct-element/styler/FlashStyler()

new module:ct-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, attributes, control)

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

Parameters:
Name Type Description
vValue Variant

the control value.

attributes 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.

control module:ct-control/Control

the control.

Overrides: