Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ion-list *ngFor="let p of pages; let i = index;">
- <ion-item>
- <ion-icon *ngIf="p.icon !== undefined" class="icon-{{ p.icon }}"></ion-icon>
- <button menuClose (click)="openPage(i)">
- {{ p.title | translate }}
- </button>
- <ion-icon
- [ngClass]="{'active': isGroupShown(i) }"
- name="arrow-forward"
- (click)="toggleGroup(i)"
- *ngIf="p.content !== undefined">
- </ion-icon>
- </ion-item>
- <ion-list *ngIf="isGroupShown(i)" class="submenu">
- <button detail-none ion-item menuClose *ngFor="let row of p.content; let j = index" (click)="openSubPage(i, j)" class="submenu-item">
- {{ row.title | translate }}
- </button>
- </ion-list>
- </ion-list>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement