Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

Greetings I want to be able to control what tabs I can see whenever I want, an example "tab1Root" I can hide and leave the other tabs visible if they could help me

$
0
0

@zwin wrote:

<ion-nav #mycontent [root]=“rootPage” >
tabs.ts
tab1Root = HomePage;
tab2Root = ContactPage;
tab3Root = AboutPage;
tab4Root = AlarmsPage;

tabs.html

<ion-tab [root]="tab1Root"   tabIcon="desktop" ></ion-tab>
<ion-tab [root]="tab2Root"   tabIcon="warning"></ion-tab>
<ion-tab [root]="tab3Root"   tabIcon="stats" ></ion-tab>
<ion-tab [root]="tab4Root"   tabIcon="megaphone"></ion-tab>

</ion-tabs>

before
imagen

after
imagen

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>