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