You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
480 B
10 lines
480 B
<ion-list>
|
|
<ion-item *ngFor="let menuItem of menuItems; let i = index" button (click)="onSelect($event, menuItems[i].value)">
|
|
<i *ngIf="menuItems[i].icon" class="fa" slot="start" [ngClass]="menuItems[i].icon"></i>
|
|
<div *ngIf="menuItems[i].icons" slot="start">
|
|
<i *ngFor="let icon of menuItems[i].icons" class="fa" slot="start" [ngClass]="icon" style="margin-right: 5px;"></i>
|
|
</div>
|
|
<ion-label>{{ menuItems[i].name }}</ion-label>
|
|
</ion-item>
|
|
</ion-list>
|