redraw/dom/event/drag

The DragEvent interface is 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.

Drag and Drop API Documentation

Types

Values

pub const as_event: fn(DragEvent) -> event.Event

DragEvent inherits Event.

pub const as_mouse_event: fn(DragEvent) -> mouse.MouseEvent

DragEvent inherits from MouseEvent.

pub const as_ui_event: fn(DragEvent) -> ui.UIEvent

DragEvent inherits from UIEvent.

Search Document