| Events |
Event Handlers |
Event Fires |
| drag |
ondrag |
When a dragged item or element is dragged. |
| dragend |
ondragend |
When a drag operation ends (such as releasing a mouse button). |
| dragenter |
ondragenter |
When a dragged item enters a valid drop target. |
| dragleave |
ondragleave |
When a dragged item leaves a valid drop target. |
| dragover |
ondragover |
When a dragged item is being dragged over a valid drop target, every few hundred milliseconds. |
| dragstart |
ondragstart |
When the user starts dragging an item. |
| drop |
ondrop |
When an item is dropped on a valid drop target. |