Class: $verticalSwipe service


new $verticalSwipe()

The $verticalSwipe service is a service that abstracts the messier details of hold-and-drag swipe behavior, to make implementing swipe-related directives more convenient.

Requires the ngTouch module to be installed.

$verticalSwipe is used by the ngeoSwipeUp and ngeoSwipeDown directives.


The $verticalSwipe service is an object with a single method: bind. bind takes an element which is to be watched for swipes, and an object with four handler functions. See the documentation for bind below.