Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ clearGlobalDnDState
Function
clearGlobalDnDState
packages/react-aria/src/dnd/utils.ts:401–403 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
399
}
400
401
export
function
clearGlobalDnDState(): void {
402
globalDndState = {draggingKeys:
new
Set()};
403
}
404
405
export
function
setGlobalDnDState(state: DnDState): void {
406
globalDndState = state;
Callers
2
onDragEnd
Function · 0.90
onDrop
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected