MCPcopy Create free account
hub / github.com/angular/components / focus

Method focus

src/material/input/testing/input-harness.ts:104–106  ·  view source on GitHub ↗

* Focuses the input and returns a promise that indicates when the * action is complete.

()

Source from the content-addressed store, hash-verified

102 * action is complete.
103 */
104 async focus(): Promise<void> {
105 return (await this.host()).focus();
106 }
107
108 /**
109 * Blurs the input and returns a promise that indicates when the

Callers

nothing calls this directly

Calls 1

focusMethod · 0.65

Tested by

no test coverage detected