taisuke-j / progress-ring-component

Animated web component showing progress in percentage
MIT License
16 stars 2 forks source link

Add onStart and onComplete callbacks #17

Closed taisuke-j closed 2 years ago

taisuke-j commented 2 years ago

We can probably pass specific props that determine which event to be emitted when the animation starts and ends. We may also be able to send the percentage change on every animation frame in the same fashion but there may be performance issue (needs testing)