Initial commit
This commit is contained in:
5
src/pages/tabs/tabs.html
Normal file
5
src/pages/tabs/tabs.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<ion-tabs>
|
||||
<ion-tab [root]="tab1Root" tabTitle="Home" tabIcon="home"></ion-tab>
|
||||
<ion-tab [root]="tab2Root" tabTitle="About" tabIcon="information-circle"></ion-tab>
|
||||
<ion-tab [root]="tab3Root" tabTitle="Contact" tabIcon="contacts"></ion-tab>
|
||||
</ion-tabs>
|
||||
19
src/pages/tabs/tabs.ts
Normal file
19
src/pages/tabs/tabs.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
import { AboutPage } from '../about/about';
|
||||
import { ContactPage } from '../contact/contact';
|
||||
import { HomePage } from '../home/home';
|
||||
|
||||
@Component({
|
||||
templateUrl: 'tabs.html'
|
||||
})
|
||||
export class TabsPage {
|
||||
|
||||
tab1Root = HomePage;
|
||||
tab2Root = AboutPage;
|
||||
tab3Root = ContactPage;
|
||||
|
||||
constructor() {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user