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
varbasicBar=$basic.find('.number-pb').NumberProgressBar({style: 'basic',min: A_MIN_NUMBER,max: A_MAX_NUMBER})varpercentageBar=$('.number-pb').NumberProgressBar({style: 'percentage'})varstepBar=$('.number-pb').NumberProgressBar({style: 'step',max: maxStep})/* For stepBar: min is set to 0 automatically, max is supposed to be > 0 */bars.reach(dest,reachOptions);//dest is the progress # at which you want to reach
Options
barOptions
These are the options you can configure when initializing a progressbar.
Option
Default
Usage
style
basic
[basic, percentage, step]
duration
10000
The duration (in ms) needed from 0 to 100
min
0
The min # of the progress
max
100
The max # of the progress
reverse
false
If true, count down progress
current
0
The initial # of the progress
shownQuery
'.number-pb-shown'
Your query string for the shown bar
numQuery
'.number-pb-num'
Your query string for the number
reachOptions
These are the options for each reach operation: bar.reach(dest, reachOptions).