File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 1
- var GESTURE_DIRECTIVES = 'onHold onTap onTouch onRelease onDrag onDragUp onDragRight onDragDown onDragLeft onSwipe onSwipeUp onSwipeRight onSwipeDown onSwipeLeft' . split ( ' ' ) ;
1
+ var GESTURE_DIRECTIVES = 'onHold onTap onDoubleTap onTouch onRelease onDrag onDragUp onDragRight onDragDown onDragLeft onSwipe onSwipeUp onSwipeRight onSwipeDown onSwipeLeft' . split ( ' ' ) ;
2
2
3
3
GESTURE_DIRECTIVES . forEach ( function ( name ) {
4
4
IonicModule . directive ( name , gestureDirective ( name ) ) ;
@@ -38,6 +38,22 @@ GESTURE_DIRECTIVES.forEach(function(name) {
38
38
*/
39
39
40
40
41
+ /**
42
+ * @ngdoc directive
43
+ * @name onDoubleTap
44
+ * @module ionic
45
+ * @restrict A
46
+ *
47
+ * @description
48
+ * Double tap touch at a location.
49
+ *
50
+ * @usage
51
+ * ```html
52
+ * <button on-double-tap="onDoubleTap()" class="button">Test</button>
53
+ * ```
54
+ */
55
+
56
+
41
57
/**
42
58
* @ngdoc directive
43
59
* @name onTouch
You can’t perform that action at this time.
0 commit comments