OverflowSubmenuComponent
component
A bare MatMenu panel rendering a list of OverflowMenuItems. Used by OverflowMenuComponent to provide the flyout of an item that has children.
The component references itself, so items may be nested to any depth. Expose the panel to a trigger using the matMenu view child:
Example :
<button [matMenuTriggerFor]="sub.matMenu()">...</button>
<yuv-overflow-submenu #sub [items]="item.children!" />Component Metadata
Section titled “Component Metadata”Selector: yuv-overflow-submenu
Standalone: No
Inputs
Section titled “Inputs”ariaLabel
Section titled “ariaLabel”Type: string
Optional accessible label for the menu panel.
Type: OverflowMenuItem[]
Required: Yes
The items to render within the menu panel.
Properties
Section titled “Properties”matMenu
Section titled “matMenu”Type: unknown
Default Value: viewChild.required<MatMenu>('menuRef')
The menu panel, to be bound to a matMenuTriggerFor of the triggering element.