Improve this Doc View Source ngSwipeRight

From Get docs
< Improve this Doc ngTouch‎ | directiveAngularjs/docs/1.8/api/ngtouch/directive/ngswiperight

Improve this Doc View Source ngSwipeRight

  1. directive in module ngTouch

Deprecated: (since 1.7.0)

See the module documentation for more information.


Specify custom behavior when an element is swiped to the right on a touchscreen device. A rightward swipe is a quick, left-to-right slide of the finger. Though ngSwipeRight is designed for touch-based devices, it will work with a mouse click and drag too.

Requires the ngTouch module to be installed.

Directive Info

  • This directive executes at priority level 0.


  • as element:

  • as attribute:



Param Type Details
ngSwipeRight expression Expression to evaluate upon right swipe. (Event object is available as $event)


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 3.0.