Document: dragover event

The dragover event is fired when an element or text selection is being dragged over a valid drop target (every few hundred milliseconds).

The event is fired on the drop target(s).

Bubbles Yes
Cancelable Yes
Default action Reset the current drag operation to "none".
Interface DragEvent
Event handler property ondragover

Examples

See the drag event for example code or this JSFiddle demo.

Specifications

Specification
HTML Standard
# event-dnd-dragover

Browser compatibility

BCD tables only load in the browser

See also