Update ionicGesture.js

'Off' method name for docs
This commit is contained in:
Mark Taylor
2014-04-02 15:55:18 -04:00
parent 87d3a2590d
commit fbff104d39

View File

@@ -23,7 +23,7 @@ angular.module('ionic.service.gesture', [])
},
/**
* @ngdoc method
* @name $ionicGesture#on
* @name $ionicGesture#off
* @description Remove an event listener for a gesture on an element. See {@link ionic.utility:ionic.EventController#offGesture}.
* @param {string} eventType The gesture event to remove the listener for.
* @param {function(e)} callback The listener to remove.