minddust / bootstrap-progressbar

progressbar interactions for twitter bootstrap 2 & 3
www.minddust.com/project/bootstrap-progressbar
MIT License
577 stars 160 forks source link

How to dynamically update the value of the progress bar #31

Closed codecowboy closed 10 years ago

codecowboy commented 10 years ago

is the 'update' callback suitable for making an ajax request to update the percent value or is that only for reacting to a value change? I need to update a progress bar dynamically based on the result of an ajax call.

Is there an example of this somewhere?

minddust commented 10 years ago

Hej @codecowboy i'm very sorry for the late response - last months really drove me to the limit.

the update callback is just for reading the current value. what you do with this is up to you - even react.

there no direct connection back with this function but you could update the aria-valuetransitiongoal and trigger progressbar() again to achieve that effect.

minddust commented 10 years ago

please check out the demo page for callback examples:

http://www.minddust.com/bootstrap-progressbar/

suresharaka commented 6 years ago

how to update the progress bar sliders and to show and update that progress bar slider with that percentage value in another profile image