Skip to main content
Module

x/evt/lib/types/lib.dom.ts>DragEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface DragEvent
implements MouseEvent
import { type DragEvent } from "https://deno.land/x/evt@v2.3.1/lib/types/lib.dom.ts";

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.

Properties

readonly
dataTransfer: DataTransfer | null

Returns the DataTransfer object for the event.