How to diregiovani mouseEvent?

Good evening, I killed half a day, but haven't found a solution... the code below, spany moving, but as soon as the cursor leaves the headline - the event is interrupted...
The idea I wanted to do so: while LMB will not let go - span was under the control of the mouse...

April 19th 20 at 12:22
0 answer

Find more questions by tags JavaScript