Here is the code for how to do swipe gesture in JQuery Mobile, here it checks the body tag, and sets a “live” event to detect the swipe gesture, and shows an alert.
$("body").live('swipe', function() {
alert("swiped");}
The world inside Hon's head, the computing world & his experiences ahead! The blog that shares the knowledge of useful applications, tips and tricks for .NET, SQL and Windows, developer events or anything that might be interesting. It's a blog that also shares my records of daily issues when installing things or programming on Windows! Please feel free to add this site to your news feed!
Here is the code for how to do swipe gesture in JQuery Mobile, here it checks the body tag, and sets a “live” event to detect the swipe gesture, and shows an alert.
$("body").live('swipe', function() {
alert("swiped");}
No comments:
Post a Comment