MCPcopy
hub / github.com/angular/components / isMenuBar

Method isMenuBar

src/aria/menu/testing/menu-harness.ts:115–118  ·  view source on GitHub ↗

Whether the menu is a menu bar.

()

Source from the content-addressed store, hash-verified

113
114 /** Whether the menu is a menu bar. */
115 async isMenuBar(): Promise<boolean> {
116 const host = await this.host();
117 return host.matchesSelector('[ngMenuBar]');
118 }
119
120 /** Opens the menu if it is currently closed. */
121 async open(): Promise<void> {

Callers 1

Calls 1

matchesSelectorMethod · 0.65

Tested by

no test coverage detected