Experience the drag and drop feature in action by clicking on the ball and moving it around.
You can check out the demo here:
In my implementation, I used the html element to handle mouse events. However, when using the ball element for event capture, the mouse pointer tends to move too fast and leave the ball behind.
I'm looking for a way to attach the listener directly to the ball so that I can have multiple balls with their own listeners. Is this feasible? Thank you!