Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49217

Side menu for tab button

$
0
0

@VenkateshVoona wrote:

I am trying to keep side menu when I click on one of the tab. Also I have other side menu for other pages. If I am applying menu for tab button its reflecting for other side menus too with the same content which I have for the tab sidemenu

here is my tabs.html page

<ion-tabs [tabsHighlight]="true" [ngClass]="{'tabs-wrapper' : !showTabs}" #content1>
  <ion-tab [root]="tab1Root"
    tabTitle="Home"
    tabIcon="md-home"></ion-tab>
  <ion-tab [root]="tab2Root"
    tabTitle="Notifications"
    tabIcon="md-notifications"
    [tabBadge]="_notificaionCount"
    badge-style="badge-assertive"></ion-tab>
  <ion-tab [root]="tab3Root"
    tabTitle="Location"
    tabIcon="md-pin"></ion-tab>
  <ion-tab
    tabTitle="More"
    tabIcon="ios-more"
    (ionSelect)="openMoreOptions()"
   >
  </ion-tab>
</ion-tabs>



<ion-menu [content]="content1" side="right"
type="overlay" >
  <ion-header>
    <ion-toolbar class="menu-header" padding>
     Logged is as : venky
    </ion-toolbar>
  </ion-header>
  <ion-content padding>

        <ion-icon name="ios-log-in-outline"></ion-icon>
        <span>Logout</span>

  </ion-content>
  <ion-footer>
    <ion-item text-center>
      Version 1.1.0
    </ion-item>
  </ion-footer>
</ion-menu>

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49217

Trending Articles