Skip to content

textmode.js / input / touch / TouchEventMap

Interface: TouchEventMap

Event map for all touch events emitted by the TouchInput.

Properties

PropertyTypeDescription
doubleTapTouchTapHandlerFires on a double tap gesture.
longPressTouchLongPressHandlerFires on a long press gesture.
pinchTouchPinchHandlerFires on a pinch gesture update.
rotateGestureTouchRotateHandlerFires on a rotation gesture update.
swipeTouchSwipeHandlerFires on a swipe gesture.
tapTouchTapHandlerFires on a single tap gesture.
touchCancelledTouchEventHandlerFires when the browser cancels a touch.
touchEndedTouchEventHandlerFires when a touch point is lifted from the canvas.
touchMovedTouchEventHandlerFires when a touch point moves across the canvas.
touchStartedTouchEventHandlerFires when a touch point begins on the canvas.