It requires jQuery, only 2kb sized and supports tap, double tap, hold, drag and transform.
The library is implemented pretty easily:
• just bind Hammer.js to a container HTML element
• every touch event performed on that element returns a callback with an array of details including:
For drag gestures, it can also return extra info like the angle, direction and distance.
Hammer.js works -almost- on all modern browsers and, to sum up, “you can touch this” : ).
One Creations a leading web design Hertfordshire company. Why not call us for your next project? Call 01992446622 for details.