Answer the question
In order to leave comments, you need to log in
How to implement drag and drop on mouse events?
Hello everyone, there is a task to implement the movement of objects on a grid (consists of slots). Without using html5 drag&drop. That is, on mouse events (mousedown, mousemove, mouseup). Please tell me how and where to move, on pure js I understand how to write it, but on vue, so that there is no direct manipulation of DOM nodes, there are no ideas. Also, the difficulty is to use position absolute on the wrapped element, it has to be appended to document.body. I ask for your help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question