Retain global page components between routes

This commit is contained in:
Toby Zerner
2016-04-08 13:38:16 +09:30
parent 01c0cf443b
commit 6dd190114d
8 changed files with 94 additions and 8 deletions

View File

@ -23,6 +23,9 @@ export default class ModalManager extends Component {
config(isInitialized, context) {
if (isInitialized) return;
// Since this component is 'above' the content of the page (that is, it is a
// part of the global UI that persists between routes), we will flag the DOM
// to be retained across route changes.
context.retain = true;
this.$()