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

Method focus

src/material/menu/testing/menu-harness.ts:65–67  ·  view source on GitHub ↗

Focuses the menu.

()

Source from the content-addressed store, hash-verified

63
64 /** Focuses the menu. */
65 async focus(): Promise<void> {
66 return (await this.host()).focus();
67 }
68
69 /** Blurs the menu. */
70 async blur(): Promise<void> {

Callers

nothing calls this directly

Calls 1

focusMethod · 0.65

Tested by

no test coverage detected