Batman Touch
This script shims jQuery Mobile touch events into Batman.js.
In addition to this, it provides a utility for modifying all existing
data-event-click
handlers to register virtual mousedown
events. This is the
quickest way to remove the famed 300ms click
delay from all
your existing mobile-friendly projects.
What you need
You know what to do...
- Add this script to your project
- Reference it on you page or sprockets manifest below
batman
andjquery.mobile
The easy button
bower install batman-touch
The easy button for Rails
Get it
data-event-tap
data-event-taphold
data-event-swipe
data-event-swipeleft
data-event-swiperight
data-event-scrollstart
data-event-scrollstop