MCPcopy Create free account
hub / github.com/react-dnd/react-dnd / isDragging

Method isDragging

packages/dnd-core/src/DragDropMonitor.js:91–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

89 }
90
91 isDragging() {
92 return Boolean(this.getItemType());
93 }
94
95 isDraggingSource(sourceId) {
96 const source = this.registry.getSource(sourceId, true);

Callers 4

canDragSourceMethod · 0.95
canDropOnTargetMethod · 0.95
isDraggingSourceMethod · 0.95
isOverTargetMethod · 0.95

Calls 1

getItemTypeMethod · 0.95

Tested by

no test coverage detected