Optionalconfig: DragDropConfiguration = {}A set of callback functions for each action of the drag & drop workflow.
The HTML selector which identifies draggable elements.
The HTML selector which identifies drop targets.
A set of functions to control authorization to begin drag workflows, and drop content.
StaticimplementationRetrieve the configured DragDrop implementation.
Bind the DragDrop controller to an HTML application
The HTML element to which the handler is bound
Execute a callback function associated with a certain action in the workflow
The drag event being handled
The action being attempted
Test whether the current user has permission to perform a step of the workflow
The action being attempted
The selector being targeted
Can the action be performed?
Protected_handleProtectedHandle a drag workflow ending for any reason.
The drag event.
Protected_handleProtectedHandle entering a drop target while dragging.
The drag event.
Protected_handleProtectedHandle leaving a drop target while dragging.
The drag event.
Protected_handleProtectedHandle a dragged element over a droppable target
The drag event being handled
Protected_handleProtectedHandle the start of a drag workflow
The drag event being handled
Protected_handleProtectedHandle a dragged element dropped on a droppable target
The drag event being handled
StaticcreateA helper to create an image preview element for use during HTML element dragging.
A controller class for managing drag and drop workflows within an Application instance. The controller manages the following actions: dragstart, dragover, drop.
Example: Activate drag-and-drop handling for a certain set of elements