Constructor
new ProgressBar($container)
#
Methods
animateTo(percent)
#
Handles the progress display when a percentage of progress is received
Parameters:
| Name | Type | Description |
|---|---|---|
percent |
number | a number between 0 and 100 |
- Source:
Handles the progress display when a percentage of progress is received
hide()
#
Hides the bar, resets it to 0 and stops any animation in progress.
- Source:
Hides the bar, resets it to 0 and stops any animation in progress.
init()
#
Initializes the progress display at the top of the panel.
- Source:
Initializes the progress display at the top of the panel.
jumpTo(percent)
#
Goes to the given percent (originally without animation)
Parameters:
| Name | Type | Description |
|---|---|---|
percent |
number | a number between 0 and 100 |
- Source:
Goes to the given percent (originally without animation)