public marks

PUBLIC MARKS from decembre with tags library & mouse

06 June 2017 10:30

jQuery - LIBRARY - DRAG - jQuery.event.move

Move events are designed to compliment drag events, where the two have different meanings: drag events are for transferring data while move events are for making interactive interfaces. That said, movestart, move and moveend events deliberately echo dragstart, drag and dragend events, with one main difference: where the drag event fires continuously whether you have moved the pointer or not, the move event fires only after the pointer has been moved, and only on animation frames. Where both a dragstart and any move event are bound to the same node, drag events are suppressed.