2017-05-03 15:05:57 +00:00
|
|
|
import { Component, ViewChild } from '@angular/core';
|
|
|
|
import { NavController , Nav} from 'ionic-angular';
|
|
|
|
|
2017-04-30 14:55:15 +00:00
|
|
|
@Component({
|
2017-05-21 00:16:17 +00:00
|
|
|
selector: 'page-inicio',
|
|
|
|
templateUrl: 'main.html'
|
2017-04-30 14:55:15 +00:00
|
|
|
})
|
2017-05-21 00:16:17 +00:00
|
|
|
export class PageInicio {
|
2017-04-30 14:55:15 +00:00
|
|
|
|
2017-05-07 13:39:14 +00:00
|
|
|
@ViewChild(Nav) nav: Nav;
|
2017-05-03 15:05:57 +00:00
|
|
|
|
2017-05-07 13:39:14 +00:00
|
|
|
constructor(public navCtrl: NavController) {
|
2017-04-30 14:55:15 +00:00
|
|
|
|
2017-05-07 13:39:14 +00:00
|
|
|
}
|
2017-04-30 14:55:15 +00:00
|
|
|
|
2017-05-07 13:39:14 +00:00
|
|
|
openPage() {
|
2017-05-21 00:16:17 +00:00
|
|
|
return this.navCtrl.setRoot(PageInicio);
|
2017-05-07 13:39:14 +00:00
|
|
|
}
|
2017-05-03 15:05:57 +00:00
|
|
|
|
2017-04-30 14:55:15 +00:00
|
|
|
}
|