Swipe and pinch

Feb 17, 2014 at 3:32 PM
Hi! First of all thank you for amazing plugin!

I need to implement "swipemove" and "pinch" gestures with one element.
Swipe works like a charm. Actually I need "swipemove" with one finger.
But this element is gone crazy when I try to use "pinch" (of course - 2 fingers).
I decided to provide handler for the "pinch" gesture and do nothing in it.
But this approach didn't solve the problem.
And now I have two handlers, and in the case of "pinch" gesture pinchHandler() is called first and after that swipemoveHandler() is called.

Is it possible to fix?
Minimum goal is to save "swipe move" from swipe with two fingers.
Max goal is to use "swipemove" and "pinch" gestures simultaneously.

Thank you!
Feb 17, 2014 at 10:23 PM
Sorry, it was my fault.

swipemoveHandler: function(event, obj) {
    // Example: "swipemove:1:right:steady"
    var _a = obj.description.split(':');

    // Was this swipe gesture made ​​with one finger?
    if(_a[1] != 1) {return;}


Marked as answer by Another84 on 2/17/2014 at 3:23 PM