Search results

SwipeEventArgs API in JavaScript (ES5) Base API control

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.