Document: dragstart event
The dragstart
event is fired when the user starts dragging an element or text selection.
Bubbles | Yes |
---|---|
Cancelable | Yes |
Default action | Initiate the drag-and-drop operation. |
Interface | DragEvent |
Event handler property | ondragstart |
Examples
See the drag event for example code or this JSFiddle demo.
Specifications
Specification |
---|
HTML Standard # event-dnd-dragstart |
Browser compatibility
BCD tables only load in the browser