Replied to your question on StackOverflow.
On Thursday, 13 March 2014 14:04:58 UTC, Nicolas Rannou wrote:
>
> Hi,
>
> I have my main element using the flatiron-element to redirect my user:
> ....
> <template if="{{route != null}}">
> <template if="{{route == 'home' || route == ''}}">
> <home-element structure="{{home}}"></home-element>
> </template>
> <template if="{{route == 'research'}}">
> <research-element structure="{{research}}"></research-element>
> </template>
> <template if="{{route == 'highlights'}}">
> <!-- <highlights-element></highlights-element> -->
> </template>
> </template>
> ....
>
> 1- On login (#home), the user get directed to the 'home-element', and the
> WebComponentsReady gets fired properly.
> 2- If I want to go to another page (#research), the users gets directed to
> the 'research-element'. The catch is that WebComponentsReady is not
> re-fired once the 'research-element' is ready.
>
> Is it expected or am I doing something wrong?
>
> In addition, it there any good way to cache the elements once they have
> been loaded?
>
> Best,
> Nicolas
>
>
Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/8ff59f11-a637-4d4f-820b-04e69a79417b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.