From 4671d24cb8b0e5df95b9587906a9134d02c174d2 Mon Sep 17 00:00:00 2001 From: Gowtam Lal Date: Sun, 10 May 2015 14:21:02 -0400 Subject: [PATCH] Zero threshold velocity for triggering onSwipeLeft() and onSwipeRight(). Resolves #65. --- ionic.tdcards.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ionic.tdcards.js b/ionic.tdcards.js index 76213df..d72200c 100644 --- a/ionic.tdcards.js +++ b/ionic.tdcards.js @@ -187,7 +187,7 @@ } */ ionic.requestAnimationFrame(function() { self._doDragStart(e) }); - }, this.el); + }, this.el, { swipe_velocity: 0.0 }); ionic.onGesture('drag', function(e) { ionic.requestAnimationFrame(function() { self._doDrag(e) });