SwipeEventArgs
23 Sep 20251 minute to read
The argument type of Swipe Event
Properties
distanceX number
The total traveled distance from X position
distanceY number
The total traveled distance from Y position
name string
Specifies name of the event.
originalEvent TouchEventArgs|MouseEventArgs
Original native event object for swipe.
startEvents TouchEventArgs|MouseEventArgs
Event argument for start event.
startX number
X position when swipe started.
startY number
Y position when swipe started.
swipeDirection string
The direction swipe.
velocity number
The velocity of swipe.