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

Method cleanup

src/pull-to-refresh.js:59–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58 /** */
59 cleanup() {
60 this.stopTracking_();
61 this.doc_.removeEventListener('touchstart', this.boundTouchStart_, true);
62 }
63
64 /**
65 * @param {!Event} event

Callers

nothing calls this directly

Calls 2

stopTracking_Method · 0.95
removeEventListenerMethod · 0.80

Tested by

no test coverage detected