Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/react-dnd/react-dnd
/ canDrag
Method
canDrag
packages/dnd-core/src/DragSource.js:2–4 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
export
default
class
DragSource {
2
canDrag() {
3
return
true;
4
}
5
6
isDragging(monitor, handle) {
7
return
handle === monitor.getSourceId();
Callers
1
canDragSource
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected