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

Method getMenu

src/cdk/menu/menu-trigger.ts:144–146  ·  view source on GitHub ↗

* Get a reference to the rendered Menu if the Menu is open and rendered in the DOM.

()

Source from the content-addressed store, hash-verified

142 * Get a reference to the rendered Menu if the Menu is open and rendered in the DOM.
143 */
144 getMenu(): Menu | undefined {
145 return this.childMenu;
146 }
147
148 ngOnChanges(changes: SimpleChanges<this>) {
149 if (changes['menuPosition'] && this.overlayRef) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected