MCPcopy
hub / github.com/Shopify/draggable / dragOver

Function dragOver

test/helpers/sensor.ts:72–77  ·  view source on GitHub ↗
(element: HTMLElement, options = {})

Source from the content-addressed store, hash-verified

70}
71
72export function dragOver(element: HTMLElement, options = {}) {
73 return triggerEvent(element, 'dragover', {
74 dataTransfer: getDataTransferStub(),
75 ...options,
76 });
77}
78
79export function dragDrop(element: HTMLElement, options = {}) {
80 return triggerEvent(element, 'drop', {

Callers 2

dragFunction · 0.90
dragFlowFunction · 0.90

Calls 2

triggerEventFunction · 0.90
getDataTransferStubFunction · 0.85

Tested by 1

dragFlowFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…