C
C
CrewCut2015-10-24 15:00:02
JavaScript
CrewCut, 2015-10-24 15:00:02

Is it possible with wow.js to add a class to an element when scrolled to it?

I use wow.js for animation when scrolling, there was a need to add an animation of counting numbers to an element, I did it using animateNumber.js

The problem is that you need to turn on the animation of the numbers when the user scrolls to them, I don’t want to load the code, so I think it’s possible using wow. js not to animate, but to add a class to an element when it's reached?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Blah Blag, 2015-10-24
@dsadasdad

I can't say anything about wow. But I am using viewportChecker. He also has a callback

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question