I have a listview and what I am trying to do is add a swipe event on the links. For example, if a user swipes the first link it goes to that page. Is this possible with list
Live Example:
JS:
$("#listitem").swiperight(function() {
$.mobile.changePage("#page1");
});
HTML:
- Swipe Right to view Page 1
- Navigation
- Back to the Home Page
Yeah!
You Swiped Right to view Page 1
Related: