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
It's not always possible/convenient to specify the delta value in the tick() method, sometimes you only have access to the current value. It would be very convenient to be able to update the current value directly.
Example:
constprogressBar=newProgressBar('[:bar]',{total: 10,});// some time laterprogressBar.setCurrent(1);// some time laterprogressBar.setCurrent(3);// some time laterprogressBar.setCurrent(5);// some time laterprogressBar.setCurrent(8);// some time laterprogressBar.setCurrent(10);
The text was updated successfully, but these errors were encountered:
It's not always possible/convenient to specify the delta value in the
tick()
method, sometimes you only have access to the current value. It would be very convenient to be able to update the current value directly.Example:
The text was updated successfully, but these errors were encountered: