You should now that this project is abandoned and is looking for a new maintainer since January 2015: <a href="https://github.com/hammerjs/hammer.js/issues/749" rel="nofollow">https://github.com/hammerjs/hammer.js/issues/749</a> (also issues on GitHub have been piling up for quite a long time).
MacBookPro user - not really sure what I'm supposed to be experiencing? I can click and drag the white box and it moves back to its original position, is that it? I've tried all the standard Mac touch gestures.<p>Is this library only for tablets?<p>The page that was linked is pathetically vague.
We've been using this for a while, documentation isn't great, but it seems it's the best library for what it does.<p>We had particular trouble with double tap recognition early on but I believe V2 improved this substantially.
A similar lib, but slightly different focus: <a href="http://interactjs.io/" rel="nofollow">http://interactjs.io/</a><p>I know this one to be very well maintained currently as evidenced here <a href="https://gitter.im/taye/interact.js" rel="nofollow">https://gitter.im/taye/interact.js</a>
I've used hammer.js professionally. It's small, reliable, and provides useful things like deltas. It also pairs great with mousetrap (<a href="https://github.com/ccampbell/mousetrap" rel="nofollow">https://github.com/ccampbell/mousetrap</a>) for keyboard interaction. Would recommend.
It's the best touch gestures for mobile library currently out there, I've tested a couple and in my current project I'm using this one! It's by far the easiest and smallest lib out there, great work guys! :)
> var hammertime = new Hammer(myElement, myOptions);
> hammertime.on('pan', function(ev) {
> console.log(ev);
> });<p>This made me laugh