Search the Community
Showing results for tags 'event delegation'.
Found 2 results
How to use event delegation - [Draggable] plugin
Ayaf Noneym posted a topic in GSAPI have an unordered list of items, I am also appending more items in the respective list dynamically. As you can see in the below example that the drag only working on click (because I made it to do so). Is there any way to use event delegation without adding eventListener. Note - I am using event delegation because I am dynamically appending elements in the list.
List hover effect not workingAs you can see in the attached codepen, I want to make a small hover effect. after looking through some docs on both Jquery and GSAP, it still is not working. Is there something I'm doing wrong?