简体   繁体   中英

how to change back button in ionic 3

<ion-header>
 <ion-navbar>
  <ion-buttons left>
   <button ion-button navPop icon-only>
    <ion-icon ios="ios-arrow-back" md="nbsons-arrow-back"></ion-icon>
  </button>
  </ion-buttons>
    <ion-title>distributor</ion-title>
   </ion-navbar>
 </ion-header>
<ion-content padding>
</ion-content>

I am completely new to Ionic 3, could some one please tell me how to change back button icon in ionic 3 for Android

What is this ? md="nbsons-arrow-back"

Try Like this

try to replace this one

 <ion-header>
     <ion-navbar>
      <ion-buttons left>
       <button ion-button navPop icon-only>
        <ion-icon ios="ios-arrow-back" md="md-arrow-back"></ion-icon>
      </button>
      </ion-buttons>
        <ion-title>distributor</ion-title>
       </ion-navbar>
     </ion-header>
    <ion-content padding>

</ion-content>

and learn more about ionicons IonicIocns

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM