TOUCH_EVENTS
enum
Interaction & Events
TypeScript enum for native touch DOM event names — touchstart, touchend, touchmove.
TypeScript
Definition
The TypeScript definition as found in the origam source. Click the copy icon to copy the snippet.
Members
Members
All members of this enum. Click a value to copy it to clipboard.
- TOUCH_EVENTS.TOUCH_START
- Fires when one or more touch points are placed on the touch surface.
- TOUCH_EVENTS.TOUCH_END
- Fires when one or more touch points are removed from the touch surface.
- TOUCH_EVENTS.TOUCH_MOVE
- Fires when one or more touch points are moved along the touch surface.
Ecosystem
Used by
Components and props that accept this enum as a value.
Usage
Examples
Ready-to-paste code snippets using this enum.
Using the enum in script setup