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

Method stopTracking_

src/gesture.js:539–545  ·  view source on GitHub ↗

* @param {number} index * @private

(index)

Source from the content-addressed store, hash-verified

537 * @private
538 */
539 stopTracking_(index) {
540 this.tracking_[index] = false;
541 this.pending_[index] = 0;
542 if (!this.ready_[index]) {
543 this.recognizers_[index].acceptCancel();
544 }
545 }
546
547 /**
548 * @param {number} index

Callers 5

onTouchStart_Method · 0.95
onTouchMove_Method · 0.95
onTouchEnd_Method · 0.95
doPass_Method · 0.95
cancelEventing_Method · 0.95

Calls 1

acceptCancelMethod · 0.45

Tested by

no test coverage detected