Selector for the icon template of a menu item. Use this directive if you want use icons another way than as a class of an <i></i> element.
<i></i>
Using mat-icon.
<itl-menu [dataSource]="menuDataSource" (menuItemClick)="onMenuItemClick($event)"> <ng-template itlMenuItemIcon let-icon> <mat-icon>{{icon}}</mat-icon> </ng-template> </itl-menu>
Generated using TypeDoc
Selector for the icon template of a menu item. Use this directive if you want use icons another way than as a class of an
<i></i>
element.Using mat-icon.
<itl-menu [dataSource]="menuDataSource" (menuItemClick)="onMenuItemClick($event)"> <ng-template itlMenuItemIcon let-icon> <mat-icon>{{icon}}</mat-icon> </ng-template> </itl-menu>