Hammer JS: A JavaScript Library for Multi-touch Gestures
Hammer.js is a JavaScript library that can be used to control gestures on touch devices. It supports the following gestures:
- Tap
- Double tap
- Hold
- Drag
- Transform
Hammer.js requires jQuery for simple event binding and for the position of the container element.
Hammer.js has been tested on iPad1 with iOS5, iPhone4 with iOS5, Samsung Galaxy S with Android 2.3.3 and Google Chrome 17. On a desktop browser the mouse can be used to simulate touch events with one finger.
Recent Comments