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

Function dragStart

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

Source from the content-addressed store, hash-verified

63}
64
65export function dragStart(element: HTMLElement, options = {}) {
66 return triggerEvent(element, 'dragstart', {
67 dataTransfer: getDataTransferStub(),
68 ...options,
69 });
70}
71
72export function dragOver(element: HTMLElement, options = {}) {
73 return triggerEvent(element, 'dragover', {

Callers 3

dragFunction · 0.90
dragFlowFunction · 0.90
hastyDragFlowFunction · 0.90

Calls 2

triggerEventFunction · 0.90
getDataTransferStubFunction · 0.85

Tested by 2

dragFlowFunction · 0.72
hastyDragFlowFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…