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

Function dragStop

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

Source from the content-addressed store, hash-verified

84}
85
86export function dragStop(element: HTMLElement, options = {}) {
87 return triggerEvent(element, 'dragend', {
88 dataTransfer: getDataTransferStub(),
89 ...options,
90 });
91}
92
93export function getDataTransferStub() {
94 return {

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…