ion-footer-bar

Adds a fixed footer bar below some content.

Can also be a subfooter (higher up) if the ‘bar-subfooter’ class is applied. See the footer CSS docs.

Note: If you use ionFooterBar in combination with ng-if, the surrounding content will not align correctly. This will be fixed soon.

Usage

<ion-content class="has-footer">
  Some content!
</ion-content>
<ion-footer-bar align-title="left" class="bar-assertive">
  <div class="buttons">
    <button class="button">Left Button</button>
  </div>
  <h1 class="title">Title!</h1>
  <div class="buttons" ng-click="doSomething()">
    <button class="button">Right Button</button>
  </div>
</ion-footer-bar>

API

Attr Type Details
align-title
(optional)
string

Where to align the title. Available: 'left', 'right', or 'center'. Defaults to 'center'.