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

Function _triggersSubmenu

src/material/menu/menu-trigger-base.ts:187–189  ·  view source on GitHub ↗

Whether the menu triggers a sub-menu or a top-level one.

()

Source from the content-addressed store, hash-verified

185
186 /** Whether the menu triggers a sub-menu or a top-level one. */
187 protected _triggersSubmenu(): boolean {
188 return !!(this._menuItemInstance && this._parentMaterialMenu && this._menu);
189 }
190
191 protected _closeMenu() {
192 this._menu?.close.emit();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected