Hallo
I have a little Problem with navCtrl.push and the menu, which I set in the navbar.
app.html:
<ion-menu side="right" [content]="content">
<ion-header>
<ion-toolbar>
<ion-title>
Side Menu
</ion-title>
</ion-toolbar>
</ion-header>
<ion-content padding>
<ion-list>
<ion-item (click)="toAppointment()">Termine</ion-item>
<ion-item (click)="toApproval()">Genehmigungen</ion-item>
</ion-list>
</ion-content>
</ion-menu>
<ion-nav [root]="rootPage" #content></ion-nav>
and in the pages.html:
<ion-header>
<ion-navbar class="header" style="color:#488aff">
<h1>Terminvereinbarung</h1>
<ion-buttons start>
<button ion-button icon-only menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
</ion-buttons>
</ion-navbar>
as long as I call a navCrtl.setRoot(somePage) i have in the up right the menu button to toggle the side menu. But then there is not the Back-Arrow from Push…
And when i use navCrtl.push(somePage), the menu button isn’t shown.
Is there a way to use push to keep the back-arrow, and show the button for the side menu?
thanks in advance