mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(menu): fix incorrect docs example (#10077)
This commit is contained in:
committed by
Joey Perrott
parent
fe493457b5
commit
4a36cf63d1
@@ -118,7 +118,7 @@ with a different set of data, depending on the trigger that opened it:
|
||||
|
||||
```html
|
||||
<mat-menu #appMenu="matMenu">
|
||||
<ng-template matMenuContent let-user="user">
|
||||
<ng-template matMenuContent let-name="name">
|
||||
<button mat-menu-item>Settings</button>
|
||||
<button mat-menu-item>Log off {{name}}</button>
|
||||
</ng-template>
|
||||
|
||||
Reference in New Issue
Block a user