MCPcopy Index your code
hub / github.com/angular/components / toggleMenus

Method toggleMenus

src/cdk/menu/menu-trigger.ts:240–244  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238 ) {
239 // Closes any sibling menu items and opens the menu associated with this trigger.
240 const toggleMenus = () =>
241 this._ngZone.run(() => {
242 this._closeSiblingTriggers();
243 this.open();
244 });
245
246 if (this._menuAim) {
247 this._menuAim.toggle(toggleMenus);

Callers

nothing calls this directly

Calls 2

_closeSiblingTriggersMethod · 0.95
openMethod · 0.95

Tested by

no test coverage detected