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

Interface Options

test/helpers/module.ts:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13} from './sensor';
14
15interface Options {
16 from: HTMLElement;
17 to: HTMLElement;
18 sensor?: 'mouse' | 'touch' | 'drag';
19}
20
21export function drag({from, to, sensor = 'mouse'}: Options) {
22 if (sensor === 'mouse') {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…