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

Function registerChildMenu

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

Registers a child menu as having been opened by this trigger.

(child: Menu)

Source from the content-addressed store, hash-verified

143
144 /** Registers a child menu as having been opened by this trigger. */
145 registerChildMenu(child: Menu) {
146 this.childMenu = child;
147 }
148
149 /**
150 * Get the portal to be attached to the overlay which contains the menu. Allows for the menu

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected