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

Function touchStart

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

Source from the content-addressed store, hash-verified

42}
43
44export function touchStart(element: HTMLElement, options = {}) {
45 return triggerEvent(element, 'touchstart', {
46 ...defaultTouchEventOptions,
47 ...options,
48 });
49}
50
51export function touchMove(element: HTMLElement, options = {}) {
52 return triggerEvent(element, 'touchmove', {

Callers 3

dragFunction · 0.90
dragFlowFunction · 0.90

Calls 1

triggerEventFunction · 0.90

Tested by 1

dragFlowFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…