Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ogone/src/ogone.dom.d.ts>DragEvent

Advanced Web Composition for Future
Latest
interface DragEvent
implements MouseEvent
import { type DragEvent } from "https://deno.land/x/ogone@revb3/src/ogone.dom.d.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.