ITouchStoredHandlers

interface
Touch & Gesture

Internal store of raw DOM event listeners attached by the v-touch directive — kept on the element so they can be correctly removed on directive unmount.

TypeScript

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

touchstart
required
(e: TouchEvent) => void
Raw touchstart listener stored for removeEventListener on unmount.
touchend
required
(e: TouchEvent) => void
Raw touchend listener stored for removeEventListener on unmount.
touchmove
required
(e: TouchEvent) => void
Raw touchmove listener stored for removeEventListener on unmount.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Internal usage in the v-touch directive lifecycle

typescript