Class: SC.LegacyTheme.progressRenderDelegate
Renders and updates DOM representations of progress bars.
Parameters
Expects these properties on the data source:
isIndeterminate
isRunning
isEnabled
- value (from 0 to 1)
There are a few other properties supported for backwards-compatibility with certain ProgressView implementations; these ProgressViews should be updated to match the new API. These properties will trigger deprecation warnings.
Theme Constants
Note that, unlike render delegate parameters, which are mostly standardized, the theme constants can vary by the theme and the theme's method of rendering the control.
PROGRESS_ANIMATED_BACKGROUND_MATRIX
: Set to the matrix used for background image position for animation. [1st image y-location, offset, total number of images]PROGRESS_OFFSET_RANGE
: The value of the progress inner offset range. Should be the same as width of image. Default it to 24.
Defined in: progress.js