Document: dragleave event

The dragleave event is fired when a dragged element or text selection leaves a valid drop target.

Bubbles Yes
Cancelable No
Default action None.
Interface DragEvent
Event handler property ondragleave


See the drag event for example code or this JSFiddle demo.


Browser compatibility

BCD tables only load in the browser

See also