It has directives and services to support touch
, swipe
and drag
gestures.
It does not need any .css
to work.
This module will not work with ngTouch
cause it is intended, among offering more features, to be a drop-in replacement for it.
Be aware that ngTouch
is still not playing well with fastclick.js
and its usage with mobile-angular-ui
is currently discouraged anyway.
Usage
.gestures
module is not required by mobile-angular-ui
module. It has no dependency on other modules and is intended to be used alone with any other angular framework.
You have to include mobile-angular-ui.gestures.min.js
to your project in order to use it. Ie.
<script src="/dist/js/mobile-angular-ui.gestures.min.js"></script>
angular.module('myApp', ['mobile-angular-ui.gestures']);
Submodules
comments powered by Disqus