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

Method focus

src/material/select/testing/select-harness.ts:78–80  ·  view source on GitHub ↗

Focuses the select and returns a void promise that indicates when the action is complete.

()

Source from the content-addressed store, hash-verified

76
77 /** Focuses the select and returns a void promise that indicates when the action is complete. */
78 async focus(): Promise<void> {
79 return (await this.host()).focus();
80 }
81
82 /** Blurs the select and returns a void promise that indicates when the action is complete. */
83 async blur(): Promise<void> {

Callers

nothing calls this directly

Calls 1

focusMethod · 0.65

Tested by

no test coverage detected