Skip to main content
Module

x/commandis/mod.ts>dom.DragEvent

Official framework for Corddis lib ( for Deno only )
Latest
interface dom.DragEvent
implements MouseEvent
import { type dom } from "https://deno.land/x/commandis@v0.6.5/mod.ts";
const { DragEvent } = dom;

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.