Class Swipe
Class defined in:src/gestures/swipe.js:4
triggers swipe events when the end velocity is above the threshold
for best usage, set preventDefault
(on the drag gesture) to true
hammertime.on("dragleft swipeleft", function(ev) {
console.log(ev);
ev.gesture.preventDefault();
});