2

I am a beginner in AngularJs programming,and I am not able to figure out what is the use of ngTouch in angularjs? I am asking this question because I had made a small website, which I assumed that will not work fine on tabs without the ngTouch module,so i used it there,but due to some errors,i removed its dependency from module, and it is working as expected, and I also ran into a lot of issues on android touch device because of ngTouch being used.so what is the use of ngTouch then?

r_goyal
  • 1,117
  • 1
  • 11
  • 20

1 Answers1

1

From the docs:

The ngTouch module provides touch events and other helpers for touch-enabled devices. The implementation is based on jQuery Mobile touch event handling

Here is a good explanation on how it works with an example.

Rahul Tripathi
  • 168,305
  • 31
  • 280
  • 331