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

Function releaseMouse

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

Source from the content-addressed store, hash-verified

35}
36
37export function releaseMouse(element: HTMLElement, options = {}) {
38 return triggerEvent(element, 'mouseup', {
39 ...defaultMouseEventOptions,
40 ...options,
41 });
42}
43
44export function touchStart(element: HTMLElement, options = {}) {
45 return triggerEvent(element, 'touchstart', {

Callers 15

dragFunction · 0.90
Droppable.test.jsFile · 0.90
moveFunction · 0.90
DragSensor.test.jsFile · 0.90
dragFlowFunction · 0.90
hastyDragFlowFunction · 0.90
dragFlowFunction · 0.90
dragFlowWithRightClickFunction · 0.90
dragFlowWithCtrlKeyFunction · 0.90
dragFlowWithMetaKeyFunction · 0.90

Calls 1

triggerEventFunction · 0.90

Tested by 8

moveFunction · 0.72
dragFlowFunction · 0.72
hastyDragFlowFunction · 0.72
dragFlowFunction · 0.72
dragFlowWithRightClickFunction · 0.72
dragFlowWithCtrlKeyFunction · 0.72
dragFlowWithMetaKeyFunction · 0.72
hastyDragFlowFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…