Tuesday, 29 January 2019

Angular/HammerJS - Avoid rotate gestures on pinch in/out

I'm trying to launch pinch gestures without launch rotate gestures also. My purpose is launch both gestures separately.

I am trying with:

pinch.dropRecognizeWith(rotate);

and

rotate.dropRecognizeWith(pinch);

This changes doesn't work. Only rotate gestures are launched...

If I add:

pinch.recognizeWith(rotate);

It launches both events...

Are there any way to launch them separately? I will appreciate any kind of help



from Angular/HammerJS - Avoid rotate gestures on pinch in/out

No comments:

Post a Comment