Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import { Component } from '@angular/core';
- import { Platform } from 'ionic-angular';
- import { StatusBar, Splashscreen } from 'ionic-native';
- import { HomePage } from '../pages/home/home';
- import { ContactosPage } from '../pages/contactos/contactos';
- @Component({
- templateUrl: 'app.html'
- })
- export class MyApp {
- rootPage = ContactosPage;
- 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();
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement