mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
nav updates
This commit is contained in:
19
ionic/components/nav/test/basic/pages/third-page.js
Normal file
19
ionic/components/nav/test/basic/pages/third-page.js
Normal file
@ -0,0 +1,19 @@
|
||||
import {Component, View, Parent} from 'angular2/angular2'
|
||||
import {NavController} from 'ionic/components'
|
||||
|
||||
|
||||
@Component()
|
||||
@View({
|
||||
templateUrl: 'pages/third-page.html',
|
||||
directives: []
|
||||
})
|
||||
export class ThirdPage {
|
||||
constructor(
|
||||
nav: NavController
|
||||
) {
|
||||
this.nav = nav
|
||||
}
|
||||
pop() {
|
||||
this.nav.pop()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user