MCPcopy Index your code
hub / github.com/angular/components / open

Method open

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

Opens the menu.

()

Source from the content-addressed store, hash-verified

78
79 /** Opens the menu. */
80 async open(): Promise<void> {
81 if (!(await this.isOpen())) {
82 return (await this.host()).click();
83 }
84 }
85
86 /** Closes the menu. */
87 async close(): Promise<void> {

Callers 1

clickItemMethod · 0.95

Calls 2

isOpenMethod · 0.95
clickMethod · 0.65

Tested by

no test coverage detected