mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
20 lines
315 B
JavaScript
20 lines
315 B
JavaScript
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()
|
|
}
|
|
}
|