textmode.js / input / touch
touch
Types and interfaces for touch event handling
Interfaces
| Interface | Description |
|---|---|
| TouchEventData | Touch event data. |
| TouchLongPressEventData | Long press event data |
| TouchPinchEventData | Pinch gesture event data describing the scaling factor between the initial and current distance |
| TouchPosition | Touch position expressed both in grid and client coordinates |
| TouchRotateEventData | Rotate gesture event data describing the angle change between the initial and current segment |
| TouchSwipeEventData | Swipe event data reported when the finger travels a minimum distance within a time window |
| TouchTapEventData | Tap (single or double) event data |
Type Aliases
| Type Alias | Description |
|---|---|
| TouchEventHandler | Touch event handler function type |
| TouchLongPressHandler | Touch long press event handler function type |
| TouchPinchHandler | Touch pinch event handler function type |
| TouchRotateHandler | Touch rotate event handler function type |
| TouchSwipeHandler | Touch swipe event handler function type |
| TouchTapHandler | Touch tap event handler function type |