MCPcopy
hub / github.com/ampproject/amphtml / onMouseDown_

Method onMouseDown_

src/input.js:207–214  ·  view source on GitHub ↗

@private

()

Source from the content-addressed store, hash-verified

205
206 /** @private */
207 onMouseDown_() {
208 if (!this.keyboardActive_) {
209 return;
210 }
211 this.keyboardActive_ = false;
212 this.keyboardStateObservable_.fire(false);
213 dev().fine(TAG_, 'keyboard deactivated');
214 }
215
216 /**
217 * @param {!Event} e

Callers

nothing calls this directly

Calls 3

devFunction · 0.90
fineMethod · 0.80
fireMethod · 0.45

Tested by

no test coverage detected