mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
test(lifecycle): update lifecycle events
This commit is contained in:
@ -14,7 +14,7 @@ class View1Cmp {
|
||||
console.log(`View1Cmp, path: ${this.path}`);
|
||||
}
|
||||
|
||||
onPageDidEnter() {
|
||||
ionViewDidEnter() {
|
||||
this.windowHash = window.location.hash;
|
||||
}
|
||||
}
|
||||
@ -30,7 +30,7 @@ class View2Cmp {
|
||||
console.log(`View2Cmp, path: ${this.path}`);
|
||||
}
|
||||
|
||||
onPageDidEnter() {
|
||||
ionViewDidEnter() {
|
||||
this.windowHash = window.location.hash;
|
||||
}
|
||||
}
|
||||
@ -48,7 +48,7 @@ class View3Cmp {
|
||||
console.log(`View3Cmp, path: ${this.path}, param id: ${this.id}`);
|
||||
}
|
||||
|
||||
onPageDidEnter() {
|
||||
ionViewDidEnter() {
|
||||
this.windowHash = window.location.hash;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user