If I have a navController, is it possible to have a button on all toolbars when a page is pushed?
So there’s a back button on the left and a fixed button on the right?
If I have a navController, is it possible to have a button on all toolbars when a page is pushed?
So there’s a back button on the left and a fixed button on the right?
Hi @Tarang, you can do this if you are using MenuController to handle navigation. You can then create a button passing menuToggle as a parameter.
<ion-header>
<ion-navbar>
<button ion-button end menuToggle>
<ion-icon name="menu"></ion-icon>
</button>
<ion-title>Page Title</ion-title>
</ion-navbar>
</ion-header>
I do not know of a way to do this using only navController unfortunately.
Try defining your ion-side-menus
like this:
<ion-side-menus enable-menu-with-back-views="true">
See Button Hidden On Child Views section on http://ionicframework.com/docs/api/directive/menuToggle/