textmode.js / input / touch / TouchEventMap
Interface: TouchEventMap
Event map for all touch events emitted by the TouchInput.
Properties
| Property | Type | Description |
|---|---|---|
doubleTap | TouchTapHandler | Fires on a double tap gesture. |
longPress | TouchLongPressHandler | Fires on a long press gesture. |
pinch | TouchPinchHandler | Fires on a pinch gesture update. |
rotateGesture | TouchRotateHandler | Fires on a rotation gesture update. |
swipe | TouchSwipeHandler | Fires on a swipe gesture. |
tap | TouchTapHandler | Fires on a single tap gesture. |
touchCancelled | TouchEventHandler | Fires when the browser cancels a touch. |
touchEnded | TouchEventHandler | Fires when a touch point is lifted from the canvas. |
touchMoved | TouchEventHandler | Fires when a touch point moves across the canvas. |
touchStarted | TouchEventHandler | Fires when a touch point begins on the canvas. |