Proper way of "sharing" layout between some, but not all routes when using more-routing?

22 views
Skip to first unread message

Viktor Kojouharov

unread,
Jul 18, 2015, 10:37:25 AM7/18/15
to polym...@googlegroups.com
Hi,

I'm trying to route between certain paths that are supposed to change the content within the 'main' section of a paper-drawer-panel, as well as paths which aren't even using it (for example, an initial splash screen which takes up the whole screen, or another set of paths which are sharing their own paper-drawer-panel).

While using more-routing with plastik-lazy-route-selector, i tried nesting 2 selectors, where the parent would load the inner when i hit the parent route of the routes that share the drawer panel. However, that throws a null exception, since the parent more-route-selection within the parent selector is unmarking a route as active just as the inner one is trying to find it.

So what is a better (and working) way of achieving what I described above?
Reply all
Reply to author
Forward
0 new messages