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

Function isOpen

src/cdk/menu/menu-trigger-base.ts:140–142  ·  view source on GitHub ↗

Whether the attached menu is open.

()

Source from the content-addressed store, hash-verified

138
139 /** Whether the attached menu is open. */
140 isOpen() {
141 return !!this.overlayRef?.hasAttached();
142 }
143
144 /** Registers a child menu as having been opened by this trigger. */
145 registerChildMenu(child: Menu) {

Callers

nothing calls this directly

Calls 1

hasAttachedMethod · 0.65

Tested by

no test coverage detected