mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(navController): update element caching
Also renamed setViews() to setPages(), and moved the index argument in insert() to be the first arg. Closes #641
This commit is contained in:
@@ -209,8 +209,4 @@ export class ViewController {
|
||||
this.instance.onPageDidUnload && this.instance.onPageDidUnload();
|
||||
}
|
||||
|
||||
domCache(isActiveView, isPreviousView) {
|
||||
this.instance._hidden = (!isActiveView && !isPreviousView);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user