mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(nav): detach ChangeDetectorRef during transition
This commit is contained in:
@@ -233,10 +233,18 @@ class AnotherPage {
|
||||
|
||||
@App({
|
||||
pages: [FirstPage, FullPage, PrimaryHeaderPage, AnotherPage],
|
||||
template: `<ion-nav [root]="root"></ion-nav>`
|
||||
template: `<ion-nav [root]="root"></ion-nav>`,
|
||||
host: {
|
||||
'[class.is-change-detecting]': 'isChangeDetecting'
|
||||
}
|
||||
})
|
||||
class E2EApp {
|
||||
constructor() {
|
||||
this.root = FirstPage;
|
||||
}
|
||||
|
||||
get isChangeDetecting() {
|
||||
console.log('isChangeDetecting');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user