hover effect, end Tween same course in GSAP Posted October 1, 2013 I would like to bind the mouseenter, mouseleave to all .class-name elements. Do i need to loop over the elements or use .proxy()? The above example triggers the .play() on all .class-name elments at once vs. the individual hover. See the Pen FpnKm by UpWorks (@UpWorks) on CodePen I was able to achieve the desired result this way See the Pen EamKw by UpWorks (@UpWorks) on CodePen but it seems a bit smelly.
hover effect, end Tween same course
in GSAP
Posted
I would like to bind the mouseenter, mouseleave to all .class-name elements. Do i need to loop over the elements or use .proxy()? The above example triggers the
on all .class-name elments at once vs. the individual hover.
See the Pen FpnKm by UpWorks (@UpWorks) on CodePen
I was able to achieve the desired result this way
See the Pen EamKw by UpWorks (@UpWorks) on CodePen
but it seems a bit smelly.