new module:ct-element /styler /Progress Cell Styler()
Applies CSS styles to reflect an action's progress as a progress bar.
ProgressCellStyler
is typically used in the XML Renderer Framework, as a styler
for a ProgressGridCellControl. The rendered progress bar is displayed as a right-aligned
bar decreasing in length as time elapses.
Extends:
Extends
Methods
style(value, attributes, control)
Styles the supplied control with stale CSS styles, according to the supplied renderer attributes.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
value |
Variant | the value. |
||||||||||||||||||||||||
attributes |
Map |
the map of attributes. Properties
|
||||||||||||||||||||||||
control |
module:ct-control |
the control. |
- Overrides:
to String() → {string}
Returns a human-readable string representation of the styler, which is useful for debugging.
- Overrides:
- module:ct-element/Styler#toString
Returns:
The string representation
- Type
- string