Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DragEvent

A DOM event that represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way.

interface DragEvent extends MouseEvent {
readonly dataTransfer: DataTransfer | null;
}
var DragEvent: {
prototype: DragEvent;
new (type: string, eventInitDict?: DragEventInit): DragEvent;
}
;

§Extends

§Properties

§
readonly dataTransfer: DataTransfer | null
[src]

Returns the DataTransfer object for the event.