David Aragon
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by David Aragon
-
-
I'm trying to use "onUpdate" to trigger a very short animation when a user scrolls.
I noticed that my animation is triggered over 10 times every time I scroll, so I used the console and it does log multiple times...
I tried to combine with onComplete: kill/clear/pause but it stops the animation and it doesn't start again.
Is there a way to trigger the animation just "while" I'm scrolling? I tried a wheel event function to trigger the animation and it didn't work either.
unUpdate on animation
in GSAP
Posted
This is perfect, thank you so much both of you 😍