MCPcopy Index your code
hub / github.com/ampproject/amphtml / mouseCanceled_

Method mouseCanceled_

src/input.js:261–273  ·  view source on GitHub ↗

@private

()

Source from the content-addressed store, hash-verified

259
260 /** @private */
261 mouseCanceled_() {
262 // Repeat, if attempts allow.
263 this.mouseConfirmAttemptCount_++;
264 if (this.mouseConfirmAttemptCount_ <= MAX_MOUSE_CONFIRM_ATTEMPTS_) {
265 listenOnce(
266 this.win.document,
267 'mousemove',
268 /** @type {function(!Event)} */ (this.boundOnMouseMove_)
269 );
270 } else {
271 dev().fine(TAG_, 'mouse detection failed');
272 }
273 }
274}
275
276/**

Callers 1

onMouseMove_Method · 0.95

Calls 3

listenOnceFunction · 0.90
devFunction · 0.90
fineMethod · 0.80

Tested by

no test coverage detected