anseki / plain-draggable

The simple and high performance library to allow HTML/SVG element to be dragged.
https://anseki.github.io/plain-draggable/
MIT License
773 stars 99 forks source link

help with method #146

Closed ainzy02 closed 5 months ago

ainzy02 commented 5 months ago

is there any way to get the position in pixels of the item after it has been dragged

anseki commented 5 months ago

Hi @ainzy02, thank you for the comment. You can use left / top properties to get the coordinates. Also, you can use onDragEnd event listener to get the coordinates when the element was moved.

anseki commented 5 months ago

No reply came, then this abandoned issue is closed.