jQuery Mobile - Touch Events



It provides touch events when the user touches the screen.

Following table lists some of the touch events supported by jQuery Mobile.

Sr.No. Touch Event & Description
1 Tap Event

Fires when the user taps on an element.

2 Taphold Event

Fires when the user taps on an element and holds for a couple of seconds.

3 Swipe Event

Fires when the user horizontally drags more than 30px over an element.

4 Swipeleft Event

Fires when the user drags more than 30px over an element in the left direction.

5 Swiperight Event

Fires when the user drags more than 30px over an element in the right direction.

jquery_mobile_events.htm
Advertisements