Remove classes after running animation
-
Hello,
Really love your plugin, it works like a charm.Only two questions:
1. Is it possible to make an element animated when it comes into the viewport and a second time when it leaves the viewport? (e.g. fade in and then fade out)
2. Is it possible to remove the classes after the animation has ended? Because the animations run only once (i don’t mean infinite_animation) when they reach the viewport offset… animate.css has a function to detect the end of the animation, but i don’t know how i can implement this to remove the classes after ending animation and add it again, when they reach the viewport offset again…
Example:
– I want to fade in a element when it comes into the viewport
– Then i scroll up the page to the top and the element leaves the viewport
– When i scroll down second time, the element should fade in again when it reaches the viewport offsetThanks for help in advanced ??
- The topic ‘Remove classes after running animation’ is closed to new replies.