(payload)
| 331 | } |
| 332 | |
| 333 | export function pointerdown(payload) { |
| 334 | const isTouch = payload != null && payload.pointerType === 'touch'; |
| 335 | return createPointerEvent('pointerdown', { |
| 336 | button: buttonType.primary, |
| 337 | buttons: buttonsType.primary, |
| 338 | pressure: isTouch ? 1 : 0.5, |
| 339 | ...payload, |
| 340 | }); |
| 341 | } |
| 342 | |
| 343 | export function pointerenter(payload) { |
| 344 | return createPointerEvent('pointerenter', payload); |
nothing calls this directly
no test coverage detected