Closed hhbusui closed 1 year ago
@hhbusui
Using getElementRect
will give you the exact location.
https://github.com/daybrush/moveable/issues/797#issuecomment-1321015856
The hitTest method will give you an idea of how much the hit is, but it's approximate.
moveable.hitTest(element); // 0 ~ 100
Thank you for your reply, which perfectly solved my problem.
problem
Hey, author
When dropping the drag item, obtain its relative coordinates。
operation
Code structure
Looking forward to your reply,thank you