Home > three-story-controls > SwipeAdaptorEvent
Event: Fired when when swipe are registered
Signature:
export interface SwipeAdaptorEvent extends DiscreteEvent
Extends: DiscreteEvent
The sign represents the direction of the swipe, y = 1 when swiping down-to-up, and x = 1 when swiping left-to-right
Property | Type | Description |
---|---|---|
x | -1 | 1 | 0 | |
y | -1 | 1 | 0 |