Ionic: two buttons in the navigation bar

I am using this code to navigate the title:

<ion-view title="Events" hide-back-button="true">
  <ion-nav-buttons side="left">
    <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
  </ion-nav-buttons>
...
</ion view>

      

How do I add a second button to the right?

+3


source to share


1 answer


<ion-view title="Events" hide-back-button="true">

 <ion-nav-buttons side="left"> <!-- left -->
   <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
 </ion-nav-buttons>

 <ion-nav-buttons side="right"> <!-- right -->
   <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
 </ion-nav-buttons>

</ion view>

      



+8


source







All Articles