How to handle mobile browsers/devices events in AngularJS?



How to handle mobile browsers/devices events in AngularJS?..

Answer / Chetendra Kumar

AngularJS provides the ngTouch module for handling touch events on mobile devices. First, include the angular-touch.js file, then add ng-touch as a module in your application. You can then use directives like ng-click-tap and ng-show-hide-tap for click and show/hide functionality respectively.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What are the advantages of AngularJS?

1 Answers   SLK Software,


What is linking function? What are post linking and pre-linking functions?

1 Answers  


What classes should I not add to module's declarations in angular 4?

1 Answers  


What is components in angular?

1 Answers  


Is react easier than angular?

1 Answers  


What is directive role?

1 Answers  


Do you know what is services in angular.js?

1 Answers  


What is provider in angular 2?

1 Answers  


In angular, describe how will you set, get and clear cookies?

1 Answers  


How do we display errors in a component view with angular 2?

1 Answers  


What is share module?

1 Answers  


What is traceur compiler? Why in angular 2?

1 Answers  


Categories