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

Examples

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

Specifications

Browser compatibility

BCD tables only load in the browser

See also