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

Method hasMenu

src/cdk/menu/menu-item.ts:88–90  ·  view source on GitHub ↗

Whether the menu item opens a menu.

()

Source from the content-addressed store, hash-verified

86
87 /** Whether the menu item opens a menu. */
88 get hasMenu() {
89 return this._menuTrigger?.menuTemplateRef != null;
90 }
91
92 /**
93 * The tabindex for this menu item managed internally and used for implementing roving a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected