ReadonlyonEmitted when a tab has been dropped on a drop target in one of the windows of the application.
Protected ReadonlyonReadonlyonEmitted when a tab is released outside of all windows of the application, e.g. over the desktop.
Protected ReadonlyonReadonlyonEmitted when a tab drag has ended, with its dragend event, or with the drop event of a successful drop.
Native drags end without a mouseup event.
Protected ReadonlyonReadonlyonEmitted when a tab drag has started, with its dragstart event.
Protected ReadonlyonProtectedsessionProtected ReadonlytargetThe ancestors of the drop targets, see rememberAncestors.
Protected ReadonlywindowsProtected Static ReadonlyLEAVE_The time without native drag events in a window after which the pointer is considered to have left the window.
Native dragleave events are also fired when the pointer moves between the elements of a window,
while native dragover events are fired continuously as long as the pointer is over a window.
Static ReadonlyMIME_ProtectedcancelProtectedcontainsProtecteddispatchProtecteddispatchFollows Private.dispatchDragEnter in @lumino/dragdrop.
Ends the current tab drag. To be called from the dragend event of the tab.
ProtectedendEnds the current drag session and notifies the drop targets under the pointer that the drag has left them.
the event that ends the drag, i.e. its dragend event or the drop event of a successful drop
ProtectedgetProtectedhandleProtectedhandleProtectedhandleProtectedinitTranslates the native drag events of tab drags in the given window to Lumino drag events.
Protectediswhether the pointer is over one of the windows at the end of the given drag event
ProtectedleaveNotifies the current drop target, if any, that the pointer has left the window.
ProtectedrememberDrop targets are often elements that are replaced while dragging, e.g. the lines of an editor that is re-rendered because a side panel expands. Lumino drag events dispatched to a removed element don't reach the drop target that handles them, e.g. the dock panel that has to hide its drop overlay. Such events are dispatched to the nearest ancestor that is still attached instead.
ProtectedresetProtectedscheduleProtectedupdateUpdates the Lumino drop target under the pointer, following Drag._updateCurrentTarget in @lumino/dragdrop.
Drags the tabs of dock panels with native HTML drag and drop instead of Lumino's pointer based drag and drop. Native drags work across windows, e.g. secondary windows, and show the drag image outside of the window as well.
Drop targets are not aware of this: the native drag events are translated to the Lumino drag events (
lm-dragenter,lm-dragover,lm-dragleaveandlm-drop) that Lumino drop targets handle.