ITouchDirectiveBinding

interface
Touch & Gesture

Vue directive binding for v-touch — extends Vue's DirectiveBinding (minus the value slot) with the typed ITouchValue payload.

TypeScript

Definition

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

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

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

value
ITouchValue
The structured touch handler object bound via v-touch, containing directional callbacks and options.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Type-annotating a custom directive hook

typescript