| 13 | } from './sensor'; |
| 14 | |
| 15 | interface Options { |
| 16 | from: HTMLElement; |
| 17 | to: HTMLElement; |
| 18 | sensor?: 'mouse' | 'touch' | 'drag'; |
| 19 | } |
| 20 | |
| 21 | export function drag({from, to, sensor = 'mouse'}: Options) { |
| 22 | if (sensor === 'mouse') { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…