forked from monospaced/angular-hammer
-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
When you add requireFailure of doubletap you get a TypeError: "TypeError: Cannot read property 'requireFailure' of null at db.V.requireFailure".
Changing the requireFailure to swipe, pan, etc. all works.
<div id="trigger"
hm-tap="onHammer"
hm-doubletap="onHammer"
hm-recognizer-options='[
{"type":"singletap", "requireFailure":"doubletap"}
]' ></div>
Simillarly, using a recognizeWith of singletap also doesn't work.
This example from hammerjs shows the regular usage of these options: http://codepen.io/jtangelder/pen/pBuIw