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

Method constructor

src/gesture-recognizers.js:23–40  ·  view source on GitHub ↗

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

(manager)

Source from the content-addressed store, hash-verified

21 * @param {!./gesture.Gestures} manager
22 */
23 constructor(manager) {
24 super('tap', manager);
25
26 /** @private {number} */
27 this.startX_ = 0;
28
29 /** @private {number} */
30 this.startY_ = 0;
31
32 /** @private {number} */
33 this.lastX_ = 0;
34
35 /** @private {number} */
36 this.lastY_ = 0;
37
38 /** @private {?EventTarget} */
39 this.target_ = null;
40 }
41
42 /** @override */
43 onTouchStart(e) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected