Using Polymer with Aurelia as a SPA. When loading a new view into a child router that contains a paper-toolbar, elements that are set with a class of middle appear in topBar, until they're focused on or clicked when they then get moved into middleBar.
For example. here's the code when the page is loaded. You can see the paper-button's have a class of middle but are placed in the topBar.
Then here's the markup when I've either left clicked, right clicked, or forced focus on one of the buttons. I actually see the elements move from topBar to middleBar in Inspect Element.
Description
Using Polymer with Aurelia as a SPA. When loading a new view into a child router that contains a paper-toolbar, elements that are set with a class of middle appear in topBar, until they're focused on or clicked when they then get moved into middleBar.
For example. here's the code when the page is loaded. You can see the paper-button's have a class of middle but are placed in the topBar.
Then here's the markup when I've either left clicked, right clicked, or forced focus on one of the buttons. I actually see the elements move from topBar to middleBar in Inspect Element.
Here's my actual raw code;