Last active
March 17, 2016 20:49
-
-
Save kikill95/e8b1321023f16705d491 to your computer and use it in GitHub Desktop.
Klim
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {App, Platform} from 'ionic-framework/ionic'; | |
| import {HomePage} from './pages/home/home'; | |
| @App({ | |
| template: '<ion-nav [root]="rootPage"></ion-nav>', | |
| config: {} // http://ionicframework.com/docs/v2/api/config/Config/ | |
| }) | |
| export class MyApp { | |
| rootPage:any = HomePage; | |
| constructor(platform:Platform) { | |
| platform.ready().then(() => { | |
| // The platform is now ready. Note: if this callback fails to fire, follow | |
| // the Troubleshooting guide for a number of possible solutions: | |
| // | |
| // Okay, so the platform is ready and our plugins are available. | |
| // Here you can do any higher level native things you might need. | |
| // | |
| // First, let's hide the keyboard accessory bar (only works natively) since | |
| // that's a better default: | |
| // | |
| // Keyboard.setAccessoryBarVisible(false); | |
| // | |
| // For example, we might change the StatusBar color. This one below is | |
| // good for dark backgrounds and light text: | |
| // StatusBar.setStyle(StatusBar.LIGHT_CONTENT) | |
| }); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment