MCPcopy Create free account
hub / github.com/adobe/react-spectrum / setDraggingKeys

Function setDraggingKeys

packages/react-aria/src/dnd/utils.ts:393–395  ·  view source on GitHub ↗
(keys: Set<Key>)

Source from the content-addressed store, hash-verified

391}
392
393export function setDraggingKeys(keys: Set<Key>): void {
394 globalDndState.draggingKeys = keys;
395}
396
397export function setDropCollectionRef(ref?: RefObject<HTMLElement | null>): void {
398 globalDndState.dropCollectionRef = ref;

Callers 1

onDragStartFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected