MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / getCurrentDragPayload

Function getCurrentDragPayload

packages/app-core/src/lib/dnd.ts:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33
34/** The payload of the in-flight drag, or null. Safe to read during dragover. */
35export function getCurrentDragPayload(): DragPayload | null {
36 return currentDragPayload
37}
38
39export function setDragPayload(e: React.DragEvent, payload: DragPayload): void {
40 currentDragPayload = payload

Callers 2

TasksRowFunction · 0.90
Sidebar.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected