ion-footer-bar

在内容底部添加一个固定的footer栏。

如果应用'bar-subfooter'类,就成了一个subfooter(在上面)。查看footer CSS 文档

用法

<ion-content>
  一些内容!
</ion-content>
<ion-footer-bar align-title="left" class="bar-assertive">
  <div class="buttons">
    <button class="button">左侧按钮</button>
  </div>
  <h1 class="title">Title!</h1>
  <div class="buttons" ng-click="doSomething()">
    <button class="button">右侧按钮</button>
  </div>
</ion-footer-bar>

API

属性 类型 详情
align-title
(可选)
字符串

标题对齐的位置。可选: 'left', 'right', 或 'center'。 默认为 'center'。