Skip to main content

External Dnd Events

External Dnd events can be intercepted through a number of utilities.

onDidDrop
Invoked when a Drag'n'Drop event occurs that the component was unable to handle. Exposed for custom Drag'n'Drop functionality.
onDidDrop: Event<DockviewDidDropEvent>
onUnhandledDragOverEvent
onUnhandledDragOverEvent: Event<DockviewDndOverlayEvent>

Intercepting Drag Events

You can intercept drag events to attach your own metadata using the onWillDragPanel and onWillDragGroup api methods.