MCPcopy Create free account
hub / github.com/ampproject/amphtml / constructor

Method constructor

src/gesture-recognizers.js:107–127  ·  view source on GitHub ↗

* @param {!./gesture.Gestures} manager

(manager)

Source from the content-addressed store, hash-verified

105 * @param {!./gesture.Gestures} manager
106 */
107 constructor(manager) {
108 super('doubletap', manager);
109
110 /** @private {number} */
111 this.startX_ = 0;
112
113 /** @private {number} */
114 this.startY_ = 0;
115
116 /** @private {number} */
117 this.lastX_ = 0;
118
119 /** @private {number} */
120 this.lastY_ = 0;
121
122 /** @private {number} */
123 this.tapCount_ = 0;
124
125 /** @private {?Event} */
126 this.event_ = null;
127 }
128
129 /** @override */
130 onTouchStart(e) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected