mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
33 lines
507 B
JavaScript
33 lines
507 B
JavaScript
import {
|
|
Component,
|
|
View,
|
|
Ancestor,
|
|
} from 'angular2/angular2';
|
|
import {
|
|
NavItem,
|
|
Content,
|
|
NavController,
|
|
Toolbar,
|
|
ToolbarTitle,
|
|
} from 'ionic/ionic';
|
|
import {TabsPage} from 'pages/tabs';
|
|
|
|
@Component()
|
|
@View({
|
|
templateUrl: 'pages/sign-in.html',
|
|
directives: [Content, Toolbar, ToolbarTitle]
|
|
})
|
|
export class SignInPage {
|
|
constructor(
|
|
nav: NavController
|
|
) {
|
|
this.nav = nav;
|
|
}
|
|
signIn() {
|
|
console.log('click');
|
|
this.nav.push(TabsPage, {
|
|
my: 'param'
|
|
})
|
|
}
|
|
}
|