mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
nav wip
This commit is contained in:
@@ -7,14 +7,13 @@ import {SecondPage} from './second-page'
|
||||
|
||||
@Component()
|
||||
@View({
|
||||
templateUrl: 'pages/first-page.html',
|
||||
directives: []
|
||||
templateUrl: 'pages/first-page.html'
|
||||
})
|
||||
export class FirstPage {
|
||||
constructor(
|
||||
nav: NavController
|
||||
//nav: NavController
|
||||
) {
|
||||
this.nav = nav;
|
||||
//this.nav = nav;
|
||||
}
|
||||
|
||||
push() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
||||
import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
import {NavController} from 'ionic/ionic'
|
||||
import {NavController} from 'ionic/ionic';
|
||||
|
||||
|
||||
@Component()
|
||||
|
||||
Reference in New Issue
Block a user