Putting ion-tabs in sub-header


#1

hi, my app mainly uses side-menu for navigation, and inside one of the menu, I’d like to utilise ion-tabs to simply divide the content to two sections like this:

      <ion-tabs>
            <ion-tab title="Tab 1">
            <ion-content>
              Hello tab 1!
            </ion-content>
            </ion-tab>
            <ion-tab title="Tab 2">
            <ion-content>
            Hello tab 2!
            </ion-content>
            </ion-tab>
      </ion-tabs>

it looks good and i like this simple approach, except that i wanna put the ion-tabs into sub-header, which seems impossible?


Sub header navigation?
#2

sorry, please ignore it, i solved it by using button-bar, thanks!