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

Method isMouseDetected

src/input.js:122–124  ·  view source on GitHub ↗

* Whether the mouse input has been detected. * @return {boolean}

()

Source from the content-addressed store, hash-verified

120 * @return {boolean}
121 */
122 isMouseDetected() {
123 return this.hasMouse_;
124 }
125
126 /**
127 * Registers an event handle in case if the mouse is detected.

Callers 3

onMouseDetectedMethod · 0.95
test-input.jsFile · 0.80
buildMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected