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

Method isMenuOpen

src/cdk/menu/menu-item.ts:141–143  ·  view source on GitHub ↗

Return true if this MenuItem has an attached menu and it is open.

()

Source from the content-addressed store, hash-verified

139
140 /** Return true if this MenuItem has an attached menu and it is open. */
141 isMenuOpen() {
142 return !!this._menuTrigger?.isOpen();
143 }
144
145 /**
146 * Get a reference to the rendered Menu if the Menu is open and it is visible in the DOM.

Callers 1

_handleKeyEventMethod · 0.80

Calls 1

isOpenMethod · 0.45

Tested by

no test coverage detected