mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
20 lines
331 B
JavaScript
20 lines
331 B
JavaScript
import {Component, View, Parent} from 'angular2/angular2'
|
|
import {NavController, Toolbar} from 'ionic/components'
|
|
|
|
|
|
@Component()
|
|
@View({
|
|
templateUrl: 'pages/third-page.html',
|
|
directives: [Toolbar]
|
|
})
|
|
export class ThirdPage {
|
|
constructor(
|
|
nav: NavController
|
|
) {
|
|
this.nav = nav
|
|
}
|
|
pop() {
|
|
this.nav.pop()
|
|
}
|
|
}
|