mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
22 lines
457 B
JavaScript
22 lines
457 B
JavaScript
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
|
import {View} from 'angular2/src/core/annotations_impl/view';
|
|
|
|
import {NavController, Toolbar, Content} from 'ionic/ionic';
|
|
|
|
|
|
@Component({selector: 'ion-view'})
|
|
@View({
|
|
templateUrl: 'pages/third-page.html',
|
|
directives: [Toolbar, Content]
|
|
})
|
|
export class ThirdPage {
|
|
constructor(
|
|
nav: NavController
|
|
) {
|
|
this.nav = nav
|
|
}
|
|
pop() {
|
|
this.nav.pop()
|
|
}
|
|
}
|