MCPcopy
hub / github.com/hello-pangea/dnd / isDragging

Function isDragging

test/unit/integration/util/helpers.ts:45–47  ·  view source on GitHub ↗
(el: HTMLElement)

Source from the content-addressed store, hash-verified

43 return calls[0][0].reason;
44}
45export function isDragging(el: HTMLElement): boolean {
46 return el.getAttribute('data-is-dragging') === 'true';
47}
48
49export function isDropAnimating(el: HTMLElement): boolean {
50 return el.getAttribute('data-is-drop-animating') === 'true';

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…