desandro / draggabilly

:point_down: Make that shiz draggable
https://draggabilly.desandro.com
MIT License
3.86k stars 387 forks source link

Getting the drag handle currently being used #171

Closed moomin17 closed 6 years ago

moomin17 commented 7 years ago

Hey I am having an issue with trying to get the current drag handle being used for the dragging. I see that each drag item can have multiple handles on it.

desandro commented 7 years ago

Thanks for opening this issue. Draggabilly doesn't provide an API for getting the specific handle. But you could do this using the pointerDown event. Try forking the CodePens so I can get a better idea of what you're trying to achieve.