我正在使用此代码进行标题导航:
<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>
如何向右侧添加第二个按钮?
答案 0 :(得分:8)
<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>