diff --git a/js/angular/directive/gesture.js b/js/angular/directive/gesture.js index 9528d3bfbde..ea4921a0d43 100644 --- a/js/angular/directive/gesture.js +++ b/js/angular/directive/gesture.js @@ -1,4 +1,4 @@ -var GESTURE_DIRECTIVES = 'onHold onTap onDoubleTap onTouch onRelease onDrag onDragUp onDragRight onDragDown onDragLeft onSwipe onSwipeUp onSwipeRight onSwipeDown onSwipeLeft'.split(' '); +var GESTURE_DIRECTIVES = 'onHold onTap onDoubleTap onTouch onRelease onDragStart onDrag onDragEnd onDragUp onDragRight onDragDown onDragLeft onSwipe onSwipeUp onSwipeRight onSwipeDown onSwipeLeft'.split(' '); GESTURE_DIRECTIVES.forEach(function(name) { IonicModule.directive(name, gestureDirective(name)); @@ -86,6 +86,21 @@ GESTURE_DIRECTIVES.forEach(function(name) { * ``` */ +/** + * @ngdoc directive + * @name onDragStart + * @module ionic + * @restrict A + * + * @description + * Called when a drag gesture has started. + * + * @usage + * ```html + * + * ``` + */ + /** * @ngdoc directive @@ -104,6 +119,20 @@ GESTURE_DIRECTIVES.forEach(function(name) { * ``` */ +/** + * @ngdoc directive + * @name onDragEnd + * @module ionic + * @restrict A + * + * @description + * Called when a drag gesture has ended. + * + * @usage + * ```html + * + * ``` + */ /** * @ngdoc directive