No commit activity in last 3 years
No release in over 3 years
A Rails wrapper for jQuery events in Batman.js
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 3.1
>= 0

Runtime

 Project Readme

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 and jquery.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