mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 07:41:51 +08:00
Fixed #153 with tests
This commit is contained in:
3
js/ext/angular/src/service/ionicGesture.js
vendored
3
js/ext/angular/src/service/ionicGesture.js
vendored
@ -4,6 +4,9 @@ angular.module('ionic.service.gesture', [])
|
||||
return {
|
||||
on: function(eventType, cb, $element) {
|
||||
return window.ionic.onGesture(eventType, cb, $element[0]);
|
||||
},
|
||||
off: function(gesture, eventType, cb) {
|
||||
return window.ionic.offGesture(gesture, eventType, cb);
|
||||
}
|
||||
};
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user