If we want to update the percent value of the circle, we need to create a whole new instance and animation of the circle restarts from 0.
This method allows us to update this value at any moment.
It does not take into account the "duration" option, it's an improvement we could make later if needed :)
If we want to update the percent value of the circle, we need to create a whole new instance and animation of the circle restarts from 0. This method allows us to update this value at any moment. It does not take into account the "duration" option, it's an improvement we could make later if needed :)
(could be a fix for issue #9 )