Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.

Commit f83198c

Browse files
Googlernshahan
authored andcommitted
Make it possible to customize menu button content.
PiperOrigin-RevId: 182346419
1 parent a9deb16 commit f83198c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/material_menu/material_menu.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
[icon]="menu.uiIcon">
1919
</material-icon>
2020
<span *ngIf="buttonText != null">{{buttonText}}</span>
21+
<ng-content select="[menu-button]"></ng-content>
2122
</material-button>
2223
<menu-popup
2324
*ngIf="hasSubmenu"

0 commit comments

Comments
 (0)