The dragexit event is fired when an element is no longer the drag operation's immediate selection target.
| Bubbles | Yes |
|---|---|
| Cancelable | No |
| Default action | None. |
| Interface | DragEvent |
| Event handler property | ondragexit |
Examples
See the drag event for example code or this JSFiddle demo.
Specifications
| Specification | Status | Comment |
|---|---|---|
| HTML Living Standard The definition of 'dragexit' in that specification. |
Living Standard |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
dragexit event | Chrome No support No | Edge No support No | Firefox No support No | IE No support No | Opera No support No | Safari No support No | WebView Android No support No | Chrome Android No support No | Firefox Android No support No | Opera Android No support No | Safari iOS No support No | Samsung Internet Android No support No |
Legend
- No support
- No support
