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

Method isOpen

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

Whether the menu is open.

()

Source from the content-addressed store, hash-verified

53
54 /** Whether the menu is open. */
55 async isOpen(): Promise<boolean> {
56 return !!(await this._getMenuPanel());
57 }
58
59 /** Gets the text of the menu's trigger element. */
60 async getTriggerText(): Promise<string> {

Callers 3

openMethod · 0.95

Calls 1

_getMenuPanelMethod · 0.95

Tested by

no test coverage detected