Upvote 1

Update progress bar percent value on resize

Answered Victor Conesa 8 years ago

I'm trying to animate a progress bar using the resize event and also update a text percentage value when it resizes.

What I'm trying to achieve is having the value change during the animation, so while the resize is happening, the text value is incrementing 50%, 51%, 52%, etc. Is there a way to have the "set value" event either listen for the resize or fire multiple times to update the value based on the progress bar width?

Replies (1)

Hi Bart,

This is definitely possible, though it may not be best to have it update every percent, but perhaps every 10 percent due to delay or the amount of events and conditions you would have to create.



Leave a Comment
Attach a file