The dragend
event is fired when a drag operation is being ended (by releasing a mouse button or hitting the escape key).
Bubbles | Yes |
---|---|
Cancelable | No |
Default action | Varies |
Interface | DragEvent |
Event handler property | ondragend |
Examples
See the drag event for example code or this JSFiddle demo.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'dragend' 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 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
dragend event | Chrome
Full support
4
| Edge Full support 12 | Firefox
Partial support
3.5
| IE Full support 10 | Opera Full support 12 | Safari Full support 3.1 | WebView Android No support No | Chrome Android No support No | Firefox Android No support No | Opera Android No support No | Safari iOS Full support 11 | Samsung Internet Android No support No |
Legend
- Full support
- Full support
- Partial support
- Partial support
- No support
- No support
- See implementation notes.
- See implementation notes.