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

Method isDragging

packages/dnd-core/src/DragSource.js:6–8  ·  view source on GitHub ↗
(monitor, handle)

Source from the content-addressed store, hash-verified

4 }
5
6 isDragging(monitor, handle) {
7 return handle === monitor.getSourceId();
8 }
9
10 endDrag() { }
11}

Callers 5

beginDragFunction · 0.45
publishDragSourceFunction · 0.45
hoverFunction · 0.45
dropFunction · 0.45
endDragFunction · 0.45

Calls 1

getSourceIdMethod · 0.80

Tested by

no test coverage detected