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

Method stopTracking_

src/pull-to-refresh.js:95–101  ·  view source on GitHub ↗

@private

()

Source from the content-addressed store, hash-verified

93
94 /** @private */
95 stopTracking_() {
96 this.tracking_ = false;
97 this.startPos_ = 0;
98 this.doc_.removeEventListener('touchmove', this.boundTouchMove_, true);
99 this.doc_.removeEventListener('touchend', this.boundTouchEnd_, true);
100 this.doc_.removeEventListener('touchcancel', this.boundTouchCancel_, true);
101 }
102
103 /**
104 * @param {!Event} event

Callers 4

cleanupMethod · 0.95
onTouchMove_Method · 0.95
onTouchEnd_Method · 0.95
onTouchCancel_Method · 0.95

Calls 1

removeEventListenerMethod · 0.80

Tested by

no test coverage detected