Orchestrate drag and drop interactions between elements.
DragDropManager
is the central orchestrator of the drag and drop system. It coordinates all interactions between draggable and droppable elements.
Default configuration
PointerSensor
: Handles mouse and touch interactions
KeyboardSensor
: Enables keyboard navigation with arrow keysAccessibility
: Manages ARIA attributes and announcementsAutoScroller
: Scrolls containers when dragging near edgesCursor
: Updates cursor appearance during dragFeedback
: Controls visual feedback during dragPreventSelection
: Prevents text selection while draggingScrollListener
: Monitors scroll events during dragScroller
: Handles programmatic scrollingmonitor
lets you observe drag and drop events:
registry
tracks draggable and droppable elements:
registry
: Tracks active elements and extensions
draggables
: Map of registered draggable elementsdroppables
: Map of registered droppable elementsplugins
: Registry of active pluginssensors
: Registry of active sensorsmodifiers
: Registry of active modifiersdragOperation
: Current drag operation state
source
: Currently dragged elementtarget
: Current drop targetposition
: Current drag coordinatesstatus
: Current operation statuscanceled
: Whether operation was canceledmonitor
: Event system
addEventListener
: Add event listenerremoveEventListener
: Remove listenerrenderer
: Integration with asynchronous renderers such as React