feat(nav): detach ChangeDetectorRef during transition

This commit is contained in:
Adam Bradley
2015-11-27 22:14:55 -06:00
parent 194c964dfb
commit 3d47061e4a
5 changed files with 53 additions and 28 deletions

View File

@@ -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;
}
}