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
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'dragleave' in that specification. |
Living Standard |
Browser compatibility
BCD tables only load in the browser