I know that jQuery Mobile comes bundled with lots of useful events for mobile devices. However, I don't want to have to include all of the additional plugins that come as part of the entire jQuery Mobile package.
My question is simple:
Has anyone come across a good plugin for stand-alone jQuery that adds touch device events? Something like:
$(this).tap();
$(this).taphold();
$(this).swipeleft();
$(this).swiperight();
$(this).doubletap();
I know that I could write a plugin myself to achieve this, but I don't want to re-invent the wheel if it's already been done...
Just wanted to point out that I eventually wrote my own library for this:
https://github.com/benmajor/jQuery-Mobile-Events
There are some plugins that handle this I've been looking at recently:
Have you already found something that worked for you?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With