Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I would insert two buttons in the navigation bar using Ionic Framework

I use Ionic Framework and I would insert two buttons in the navigation bar only this page.

<ion-view title="{{title}}"> 
<ion-nav-buttons side="right">
    <a style="color: white;" class="button button-icon icon ion-folder" 
        ng-click="clickCreaElencoSpese()" ng-href="#/creaNotaSpese"></a> 
</ion-nav-buttons>

I would like to get to get two icons in the image below close as two different functions. How can I?

enter image description here

like image 969
Marco Avatar asked Jun 01 '26 23:06

Marco


1 Answers

Just add another button.

<ion-nav-buttons side="right">
    <a style="color: white;" class="button button-icon icon ion-trash-a"></a> 
    <a style="color: white;" class="button button-icon icon ion-folder" ng-click="clickCreaElencoSpese()" ng-href="#/creaNotaSpese"></a> 
</ion-nav-buttons>
like image 130
Onosa Avatar answered Jun 05 '26 01:06

Onosa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!