(payload)
| 314 | } |
| 315 | |
| 316 | export function pointercancel(payload) { |
| 317 | return createPointerEvent('pointercancel', { |
| 318 | ...payload, |
| 319 | buttons: 0, |
| 320 | detail: 0, |
| 321 | height: 1, |
| 322 | pageX: 0, |
| 323 | pageY: 0, |
| 324 | pressure: 0, |
| 325 | screenX: 0, |
| 326 | screenY: 0, |
| 327 | width: 1, |
| 328 | x: 0, |
| 329 | y: 0, |
| 330 | }); |
| 331 | } |
| 332 | |
| 333 | export function pointerdown(payload) { |
| 334 | const isTouch = payload != null && payload.pointerType === 'touch'; |
nothing calls this directly
no test coverage detected