(ref: RefObject<HTMLElement | null>)
| 387 | export let globalDndState: DnDState = {draggingKeys: new Set()}; |
| 388 | |
| 389 | export function setDraggingCollectionRef(ref: RefObject<HTMLElement | null>): void { |
| 390 | globalDndState.draggingCollectionRef = ref; |
| 391 | } |
| 392 | |
| 393 | export function setDraggingKeys(keys: Set<Key>): void { |
| 394 | globalDndState.draggingKeys = keys; |
no outgoing calls
no test coverage detected