crisbeto / angular-svg-round-progressbar

Angular module that uses SVG to create a circular progressbar
https://crisbeto.github.io/angular-svg-round-progressbar/
MIT License
742 stars 173 forks source link

How to initialise in afterviewinit? #122

Closed ipuneetsingh closed 7 years ago

ipuneetsingh commented 7 years ago

I want to start progressbar animation when it came to viewport. Currently, it starts as the page load. Is there a way to start animation in afterviewinit?

crisbeto commented 7 years ago

You can have your value be 0 in the beginning and assign the current value at a later point.

ipuneetsingh commented 7 years ago

thanks, yeah that works actually I was using it inside the jquery function and I forgot about this