Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-dnd/react-dnd
/ beginDrag
Method
beginDrag
packages/dnd-core/test/sources.js:10–13 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8
}
9
10
beginDrag() {
11
this.didCallBeginDrag = true;
12
return
this.item;
13
}
14
15
endDrag(monitor) {
16
this.recordedDropResult = monitor.getDropResult();
Callers
2
beginDrag
Function · 0.45
simulateBeginDrag
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected