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

Function dragFlow

src/Draggable/Sensors/DragSensor/tests/DragSensor.test.js:72–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70
71 it('triggers `drag:start` sensor event on dragstart', () => {
72 function dragFlow() {
73 clickMouse(draggableElement);
74 waitForDragDelay();
75 dragStart(draggableElement);
76 waitForDragDelay();
77 dragStop(draggableElement);
78 releaseMouse(document.body);
79 }
80
81 expect(dragFlow).toHaveTriggeredSensorEvent('drag:start');
82 });

Callers

nothing calls this directly

Calls 6

clickMouseFunction · 0.90
waitForDragDelayFunction · 0.90
dragStartFunction · 0.90
dragStopFunction · 0.90
releaseMouseFunction · 0.90
dragOverFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…