Specify custom behavior when an element is swiped to the left on a touchscreen device. A leftward swipe is a quick, right-to-left slide of the finger. Though ngSwipeLeft is designed for touch-based devices, it will work with a mouse click and drag too.
To disable the mouse click and drag functionality, add
ng-swipe-disable-mouse to the
ng-swipe-right DOM Element.
ngTouch module to be installed.
<ng-swipe-left ng-swipe-left="expression"> ... </ng-swipe-left>
<ANY ng-swipe-left="expression"> ... </ANY>
|ngSwipeLeft|| || |
Expression to evaluate upon left swipe. (Event object is available as
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.