Thanks for the lib!
I was just playing around a little bit with all the events but I can't seem to get the 'double tap' working?
Can somebody tell me what I'm doing wrong?
There's a preview on http://preview.tomhoogenboom.nl
In my view I have:
<div hm-double-tap="test($event)"></div>
In my app.config I'm having the following:
hammerDefaultOptsProvider.set({
recognizers: [
[Hammer.Tap, { time: 250 }],
[Hammer.Swipe]
]
});
If I add a [Hammer.DoubleTap] here I'm getting an error " TypeError: undefined is not a function" from hammer.js when it tries to loop through the recognizers.
Am I doing something wrong and can somebody please help me?
Thanks for the lib!
I was just playing around a little bit with all the events but I can't seem to get the 'double tap' working?
Can somebody tell me what I'm doing wrong?
There's a preview on http://preview.tomhoogenboom.nl
In my view I have:
<div hm-double-tap="test($event)"></div>In my app.config I'm having the following:
If I add a [Hammer.DoubleTap] here I'm getting an error " TypeError: undefined is not a function" from hammer.js when it tries to loop through the recognizers.
Am I doing something wrong and can somebody please help me?