Any way to use countUp to update a property/class on an HTML element? #328
barryculhane
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Bootstrap to render a progress bar in an Angular app. I use countUp to animate a counter value above the progress bar.
It would be nice to be able to animate the progress bar's value at the same time as the counter value is being counted up.
Is there any way to use countUp in an Angular component's code to update one of the component's property values?
countUp the counterValue component property to animate the progress bar ?
<div class="progress-bar" attr.style="width:{{counterValue}}%"></div>
Beta Was this translation helpful? Give feedback.
All reactions