MCPcopy
hub / github.com/react-dnd/react-dnd / canDropOnTarget

Method canDropOnTarget

packages/dnd-core/src/interfaces.ts:35–35  ·  view source on GitHub ↗
(targetId: Identifier | undefined)

Source from the content-addressed store, hash-verified

33 subscribeToOffsetChange(listener: Listener): Unsubscribe
34 canDragSource(sourceId: Identifier | undefined): boolean
35 canDropOnTarget(targetId: Identifier | undefined): boolean
36
37 /**
38 * Returns true if a drag operation is in progress, and either the owner initiated the drag, or its isDragging()

Callers 4

HTML5BackendImplClass · 0.65
canDropOnTargetMethod · 0.65
canDropMethod · 0.65

Implementers 2

DragDropMonitorImplpackages/dnd-core/src/classes/DragDrop
DragSourceMonitorImplpackages/react-dnd/src/internals/DragS

Calls

no outgoing calls

Tested by

no test coverage detected