How did chromestatus.com lazyload it's element(s) for `use metrics`? When I
click on `use metrics`, I see in the network tab that only then it is
loaded and stamped...not when the app loads.
Originally, I thought `lazyRegister: max` took care of this automatically.
But in my set up:
<iron-pages attr-for-selected="data-route" selected="{{route}}">
<user-login data-route="user-login"></user-login>
<single-listing data-route="single-listing"></single-listing>
</iron-pages>
Element `single-listing` element loads when the app initially loads, even
when I have window.Polymer = { lazyRegister: 'max' }
Is possible to see the code of chromestatus to see how they lazyloaded
their element? And is the behavior even possible with iron-pages?
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/3fec0a07-862b-4778-a214-31c22368a9af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.