You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Home and Second Page are both using the main-toolbar
Other Page, however, is using the other-toolbar
My wish is achieving the following outcome:
When I navigate from Home to Second Page, the toolbar will not change, nor will it be subject to any of the page transition effects between these two pages. (In other words, the toolbar will behave as if "globally").
When I navigate from Home to Other Page (or from Second Page to Other Page), the toolbar should, of course, change, and it should, presumably, be subject to the page transition effects.
However, I have not been able to achieve this outcome...
My problem in app.html is as follows:
If I define the <div class="toolbar"within<div repeat.for="view of views", then the toolbar will always transition in-and-out on every page change, regardless if both pages had shared the same toolbar. (In other words, the toolbar will never behave "globally").
If I define the <div class="toolbar"outside of<div repeat.for="view of views", then the toolbar will always behave "globally" (i.e. it will remain fixed regardless of page transitions). However, I lose scope of the view iterant, and therefore am no longer able to adapt the toolbar based on the view's toolbar property.
What would be a common pattern for addressing this category of problem?
Thank you
-Andy
The text was updated successfully, but these errors were encountered:
Hello : )
(Referring to the demo app):
Suppose in
app.js
, my views objects also define what toolbar each view will use:Note that:
My wish is achieving the following outcome:
However, I have not been able to achieve this outcome...
My problem in
app.html
is as follows:<div class="toolbar"
within<div repeat.for="view of views"
, then the toolbar will always transition in-and-out on every page change, regardless if both pages had shared the same toolbar. (In other words, the toolbar will never behave "globally").<div class="toolbar"
outside of<div repeat.for="view of views"
, then the toolbar will always behave "globally" (i.e. it will remain fixed regardless of page transitions). However, I lose scope of theview
iterant, and therefore am no longer able to adapt the toolbar based on the view's toolbar property.What would be a common pattern for addressing this category of problem?
Thank you
-Andy
The text was updated successfully, but these errors were encountered: