The drop
event is fired when an element or text selection is dropped on a valid drop target.
Bubbles | Yes |
---|---|
Cancelable | Yes |
Default action | Varies |
Interface | DragEvent |
Event handler property | ondrop |
Examples
See the drag event for example code or this JSFiddle demo.
Specifications
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'drop event' in that specification. |
Living Standard |
Browser compatibility
BCD tables only load in the browser