-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Open
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/menufeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding
Description
Bug, feature request, or proposal:
Feature request
Background
We couldn't use mat-menu directly because it didn't support our use cases. As a result, the code base I am working on has following components:
- own menu item component that wraps mat-menu-item.
- our own menu component that extends mat-menu.
- our own trigger directive that forks of matMenuTriggerFor
This worked for us, but we needed to set private _triggersSubMenu property here: https://github.com/angular/material2/blob/be84566caa61e4d59a93be1a84dbe7cfe090c8c1/src/lib/menu/menu-item.ts#L68
Should mat-menu-item take this as an @input() to make this component more extensible?
Metadata
Metadata
Assignees
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/menufeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fixneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding