top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to detect swipe event in mobile browsers/devices in AngularJS?

0 votes
457 views
How to detect swipe event in mobile browsers/devices in AngularJS?
posted Nov 27, 2017 by Latha

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The ngTouch library provides swipe directivesto capture user swipes, either left or right across the screen.
These events are useful when the user want to swipe to the next photo gallery photo or to a new portion of our
app.
The ngSwipeLeft directive detects when an HTML element is swiped from the right to the left and the
ngSwipeRight directive detects when an HTML element is swiped from the left to the right.

answer Nov 27, 2017 by Shivaranjini
...