mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
the silence of the tabs
This commit is contained in:
@@ -15,25 +15,9 @@ import * as util from 'ionic/util'
|
||||
class IonicApp {
|
||||
constructor() {
|
||||
console.log('IonicApp Start');
|
||||
|
||||
console.log(Engine.getName(), Engine.is('cordova'));
|
||||
|
||||
Engine.ready().then(() => {
|
||||
console.log('Engine ready')
|
||||
});
|
||||
|
||||
Engine.fullScreen(true).then((isShown) => {
|
||||
console.log('Engine fullScreen', isShown)
|
||||
});
|
||||
|
||||
Engine.showStatusBar(true).then((isShown) => {
|
||||
console.log('Engine showStatusBar', isShown)
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export function main() {
|
||||
bootstrap(IonicApp);
|
||||
}
|
||||
|
||||
@@ -2,19 +2,19 @@
|
||||
<ion-tabs>
|
||||
|
||||
<ion-tab tab-title="Tab 1" tab-icon="ion-home">
|
||||
<ion-view nav-title="Tab 1">
|
||||
<ion-content class="padding">
|
||||
Tab 1 Content
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
||||
<ion-content class="padding">
|
||||
Tab 1 Content
|
||||
</ion-content>
|
||||
|
||||
</ion-tab>
|
||||
|
||||
<ion-tab tab-title="Tab 2" tab-icon="ion-star">
|
||||
<ion-view nav-title="Tab 2">
|
||||
<ion-content class="padding">
|
||||
Tab 2 Content
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
||||
<ion-content class="padding">
|
||||
Tab 2 Content
|
||||
</ion-content>
|
||||
|
||||
</ion-tab>
|
||||
|
||||
</ion-tabs>
|
||||
|
||||
Reference in New Issue
Block a user