I have spend last few hours trying to figure out how to bind to an event that is fired on the release of the swipe (left or right).
Is that capability built into angular-hammer?
How to workaround if not built into library
Is it possible to bind on a event that is fired on hmSwipe events in custom directive? Where to find list of events that I can listen on inside custom directive and use the standard touchend event to execute an angular expression?
I have spend last few hours trying to figure out how to bind to an event that is fired on the release of the swipe (left or right).
I am using this:
<div hm-swipeleft="handleSwipe('left', 'item');" hm-swiperight="handleSwipe('right', 'item');" hm-recognizer-options='[ {"type":"swipe", "directions":"DIRECTION_HORIZONTAL"}, {"type":"pan","requireFailure":"swipe"} ]'> </div>
Apologize for multiple questions above but seems like I am stuck at this point.