Hide navigation arrow - Ionic

Asked

Viewed 119 times

1

Good Afternoon

I have a problem and I need to know how to hide the return arrow (navigation) in some specific pages, someone has some solution. Thanks in advance

  • How you are navigating between pages?

1 answer

0

I think there are two ways to hide the back button in Ionic one of them is using Navcontroller when you want to go to a page without back button use:

this.navCtrl.setRoot(IrparaPaginaSemBackButton);

Another way is own html page type:

   <ion-navbar hideBackButton>
    <ion-title>Perfil</ion-title>
</ion-navbar>

Where the hideBackButton option will hide the automatic Ionic button

Browser other questions tagged

You are not signed in. Login or sign up in order to post.