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

Method constructor

src/gesture.js:27–36  ·  view source on GitHub ↗

* @param {string} type The gesture's string type. * @param {DATA} data The data of the gesture. * @param {time} time The time that the gesture has been emitted. * @param {?Event} event An optional browser event that resulted in the * gesture.

(type, data, time, event)

Source from the content-addressed store, hash-verified

25 * gesture.
26 */
27 constructor(type, data, time, event) {
28 /** @const {string} */
29 this.type = type;
30 /** @const {DATA} */
31 this.data = data;
32 /** @const {number} */
33 this.time = time;
34 /** @const {?Event} */
35 this.event = event;
36 }
37}
38
39/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected