Test I would want to have a tap in place of ng-click. There was on" /> Test I would want to have a tap in place of ng-click. There was on" /> Test I would want to have a tap in place of ng-click. There was on"/>

Angularjs with hammer.js

672 Views Asked by At

How to implement tap, with angularjs.

This is my example

<div ng-click="test">Test</div>

I would want to have a tap in place of ng-click. There was one example in this link How to use hammer.js with Angular.js

I was able to bind a tap even in directive this way

$(element).hammer({prevent_default: false,drag_vertical: false}).bind("tap",function($event){});

But how to replace ng-click or use other events of hammer.js.

0

There are 0 best solutions below