A simple loading progress bar
- License
- GPL-3.0-only
- Source
Methods
(static) init()
- Source
Create the graphical elements, add event listeners and set to 0%
(static) setPercentage(percentDone)
- Source
Update the percentage of loading that has completed so far
Visually changes the size of the inidcator bar by altering its paddingRight
property
Parameters
Name | Type | Description |
---|---|---|
percentDone |
number |