Swipe

Detecting swipe gestures using Hammer.js

var hammertime = Hammer(el);
hammertime.get('swipe').set({
    direction: Hammer.DIRECTION_ALL
});

Ensure that you're using Hammer.js v2.0.5 or greater, as previous versions contain a fundamental problem with touch-action values – see Fix erroneous `pan-x pan-y` use and handling #855.