lax.js
lax.js copied to clipboard
How to perform animation only once and until end position reached?
Is there any way to say "Hey, if you've reached your final position, please stay in that position"?
Something like a callback "onAnimationEnd(removeElement(self))"?
I'd love to get an answer.
Thanks
Do you have an example? The final position depends on your configuration.
You scroll down and the elements animate. For example, they fly from the left to their final position. How can I disable the animation once the element has reached its final position for the first time? Actually, I want to disable the animations on elements that I have already scrolled over, so that now when I scroll up, they are immediately at their final position.
I would like to achieve the same