econocart/old/pmdsys/src/app/app.component.ts

23 lines
564 B
TypeScript
Raw Normal View History

2017-05-28 22:15:08 +00:00
import { Component } from "@angular/core";
import { Platform } from "ionic-angular";
import { StatusBar, Splashscreen } from "ionic-native";
2017-04-03 13:43:23 +00:00
2017-05-28 22:15:08 +00:00
import { TabsPage } from "../pages/tabs/tabs";
2017-04-03 13:43:23 +00:00
@Component({
2017-05-28 22:15:08 +00:00
templateUrl: "app.html"
2017-04-03 13:43:23 +00:00
})
export class MyApp {
rootPage = TabsPage;
constructor(platform: Platform) {
platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
StatusBar.styleDefault();
Splashscreen.hide();
});
}
}