You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First Element within the DOM that matches given selector.
[options]
Object
Progress Bar options.
[options.max]
number
Total tasks to execute, defaults to 1 if none supplied.
[options.value]
number
Total of tasks completed, defaults to 0 if none supplied.
[options.formatter]
Function
Format used for progress bar text updates performed via setText, defaults to ${iteration.percentage}%. Other variables available through ${iteration} are: ${iteration.value} and ${iteration.max}.
[options.text]
string
Initialize progress bar text, defaults to none.
setProgress
percentage
number
Update progress bar progress, percentage is a number between 0 and 100.
setValue
value
number
Update progress bar value, value is a number between 0 and options.max.