fix tabs advanced

This commit is contained in:
Adam Bradley
2015-06-24 11:08:14 -05:00
parent 592a821953
commit 93e373e041
2 changed files with 8 additions and 3 deletions

View File

@ -30,13 +30,13 @@ class SignIn {
selector: 'ion-tabs-view'
})
@IonicView({
templateUrl: './pages/tabs.html'
templateUrl: './tabs.html'
})
class TabsPage {
constructor(nav: NavController) {
this.tab1Initial = Tab1Page1
this.tab2Initial = Tab2Page1
this.tab1Root = Tab1Page1
this.tab2Root = Tab2Page1
}
}

View File

@ -0,0 +1,5 @@
<ion-tabs>
<ion-tab tab-title="Tab 1" tab-icon="ion-home" [root]="tab1Root"></ion-tab>
<ion-tab tab-title="Tab 2" tab-icon="ion-star" [root]="tab2Root"></ion-tab>
</ion-tabs>