angular.js/src/ngTouch/touch.js

23 lines
498 B
JavaScript
Raw Normal View History

'use strict';
/**
* @ngdoc overview
* @name ngTouch
* @description
*
* # ngTouch
*
* `ngTouch` is the name of the optional Angular module that provides touch events and other
* helpers for touch-enabled devices.
* The implementation is based on jQuery Mobile touch event handling
* ([jquerymobile.com](http://jquerymobile.com/))
*
* {@installModule touch}
*
* See {@link ngTouch.$swipe `$swipe`} for usage.
*/
// define ngTouch module
var ngTouch = angular.module('ngTouch', []);