xlsdg / vue-countup-v2

Vue.js component wrap for countUp.js
https://inorganik.github.io/countUp.js/
MIT License
380 stars 56 forks source link

How to start programmatically #23

Closed ronaldohoch closed 4 years ago

ronaldohoch commented 4 years ago

I want to start it programmatically. Actually, starts when scroll reaches the element

webdevbrian commented 4 years ago

Wondering the same thing!

webdevbrian commented 4 years ago

@ronaldohoch I'm using scroll magic (find the vue wrapper for it) - and I'm running a vue-if on the component checking a boolean for sectionActive that I flip on when the user scrolls to a certain target. Hope this helps!