Navbar button does not show up


#1

Hi
I have a nabber with two buttons (logout and toggle menu) , however I was able to show the logout button in the correct position but couldn’t show the other button at all !
here is my code :


  <ion-navbar>
    <ion-buttons end>
    <button ion-button icon-only menuToggle style="color: blueviolet;" (click)="showMenu()">
    <ion-icon name="menu"></ion-icon>
    </button>
  </ion-buttons>
  <ion-buttons start>
    <button ion-button color="danger" style="color:aliceblue; background-color: red;" (click)="logout()">
    logout
    </button>
  </ion-buttons>

  </ion-navbar>

ant ideas guys ?


#2

couldn’t solve this problem , any ideas guys ?


#3

Are you doing this on a root page? Menu toggles only appear on root pages.


#4

no actually I’m not , I’ll try another way


#5

it worked , thanks !