commit | author | age
|
a5a648
|
1 |
import { Component } from '@angular/core'; |
W |
2 |
import { IonicPage, NavController, NavParams } from 'ionic-angular'; |
da58af
|
3 |
|
a5a648
|
4 |
|
W |
5 |
@IonicPage({ |
|
6 |
name: 'home' |
|
7 |
}) |
|
8 |
@Component({ |
|
9 |
selector: 'page-home', |
|
10 |
templateUrl: 'home.html', |
|
11 |
}) |
|
12 |
export class HomePage { |
|
13 |
|
|
14 |
constructor(public navCtrl: NavController, public navParams: NavParams) { |
|
15 |
} |
|
16 |
|
8ddfd9
|
17 |
test() { |
W |
18 |
let fun = "() => console.log('test');"; |
|
19 |
} |
|
20 |
|
a5a648
|
21 |
ionViewDidLoad() { |
W |
22 |
console.log('ionViewDidLoad HomePage'); |
|
23 |
} |
|
24 |
|
|
25 |
go() { |
|
26 |
this.navCtrl.push('access-login'); |
|
27 |
} |
8ddfd9
|
28 |
|
W |
29 |
gotoInput() { |
|
30 |
this.navCtrl.push('access-input'); |
|
31 |
} |
|
32 |
|
a5a648
|
33 |
} |