Skip to main content

Interface: GestureEventDetail

Defined in: src/input/gestures/GestureEvents.ts:5

Properties​

confidence​

confidence: number

Defined in: src/input/gestures/GestureEvents.ts:13

Gesture recognizer confidence score, normalized to [0, 1].


data?​

optional data: Record<string, unknown>

Defined in: src/input/gestures/GestureEvents.ts:18

Optional payload for recognizer specific values (e.g. pinch distance, velocity vectors).


hand​

hand: GestureHandedness

Defined in: src/input/gestures/GestureEvents.ts:11

Which hand triggered the gesture.


name​

name: string

Defined in: src/input/gestures/GestureEvents.ts:9

The canonical gesture identifier from the configured gesture recognizer.