27 lines
809 B
HTML
27 lines
809 B
HTML
<ion-menu [content]="content">
|
|
<ion-header>
|
|
<ion-toolbar color="logotipoCestaEscuroEscuro">
|
|
<ion-title>
|
|
Menu
|
|
</ion-title>
|
|
<ion-buttons end>
|
|
<button ion-button (click)="btnOpenHome()" menuToggle>
|
|
<ion-icon name="home"></ion-icon>
|
|
</button>
|
|
</ion-buttons>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
|
|
<ion-content>
|
|
<ion-list>
|
|
<button menuClose ion-item *ngFor="let p of pages" (click)="openPage(p)">
|
|
{{p.title}}
|
|
</button>
|
|
</ion-list>
|
|
</ion-content>
|
|
|
|
</ion-menu>
|
|
|
|
<!-- Disable swipe-to-go-back because it's poor UX to combine STGB with side menus -->
|
|
<ion-nav [root]="rootPage" #content swipeBackEnabled="false"></ion-nav>
|