Hide back button and show menu button


#1

Hi team,

I have app developed using Sidemenu template.

I navigate the app in following way

Sidemenu- Menu View (SelectItems) -> Cart View (Checkout) -> Checkout View (Place order) -> OrderConfirmation View

Now in OrderConfirmation view I want to hide back button and show menu button instead.

How can I achieve this ?


#2
<ion-nav-bar class="bar-stable">
   <ion-nav-buttons side="left">
      <button class="button button-icon button-clear ion-navicon" menu-toggle="left"></button>
   </ion-nav-buttons>
</ion-nav-bar>

You can “override” the nav bar buttons and set only what you need. You may need to include the title there too.

Did this help?


#3

Thanks @ibaiapellaniz It worked with this addition