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.
Codepin
I was able to achieve the desired result this way CodePin but it seems a bit smelly.