0

The angular-touch ngClick directive's documentation say

This directive can fall back to using an ordinary click event, and so works on desktop browsers as well as mobile.

but doesn't explain how. Looking at source code I did'nt find any provider that i can customize.

I think this question isn't the same as the 26147584 because i didn't need a selective solution, but the one mentioned on source code documentation.

Community
  • 1
  • 1
fantarama
  • 862
  • 6
  • 14
  • I wonder, why you need the original one instead of the angular touch one ? – Okazari Sep 18 '15 at 10:10
  • Because I need only swipe directive and the touch ngClick directive does a lot of stuff that i don't need – fantarama Sep 18 '15 at 10:20
  • Are you really sure you don't need it ? My ng-click functions on mobile devices usually fire twice when i don't use ngTouch's ng-click. – Okazari Sep 18 '15 at 10:36

0 Answers0