handleDrop
abstract var handleDrop: (target: T?, dataTransfer: DataTransfer, token: CancellationToken) -> PromiseLike<Void?>??(source)
Called when a drag and drop action results in a drop on the tree that this DragAndDropController
belongs to.
Extensions should fire onDidChangeTreeData for any elements that need to be refreshed.
Parameters
target
The target tree element that the drop is occurring on. When undefined, the target is the root.
dataTransfer
The data transfer items of the source of the drag.
token
A cancellation token indicating that the drop has been cancelled.