ion-nav-buttons
Child of ionNavView

Use ionNavButtons to set the buttons on your ionNavBar from within an ionView.

Any buttons you declare will be placed onto the navbar's corresponding side, and then destroyed when the user leaves their parent view.

Usage

<ion-nav-bar>
</ion-nav-bar>
<ion-nav-view>
  <ion-view>
    <ion-nav-buttons side="left">
      <button class="button" ng-click="doSomething()">
        I'm a button on the left of the navbar!
      </button>
    </ion-nav-buttons>
    <ion-content>
      Some super content here!
    </ion-content>
  </ion-view>
</ion-nav-view>

API

Attr Type Details
side string

The side to place the buttons on in the parent ionNavBar. Available: 'left' or 'right'.