HTML – ondrag Event
The ondrag event fires when an element or text selection is being dragged via drag and drop.
The ondrag event fires when an element or text selection is being dragged via drag and drop.
The ondragend event fires when the user has finished dragging an element or text selection via drag and drop.
The ondragenter event fires when a draggable element or text selection enters a valid target where it can be dropped via drag and drop.
The ondragleave event fires when a draggable element or text selection leaves a valid drop target where it can be dropped via drag and drop.
The ondragover event fires when a draggable element or text selection is being dragged over a valid drop target via drag and drop.
The ondragstart event fires when the user starts to drag an element or text selection via drag and drop.
The ondrop event fires when a draggable element or text selection is dropped on a valid drop target via drag and drop.
The onscroll event fires when an element containing a scrollbar is being scrolled by the user.