Eric Bidelman has created an example
<https://github.com/ebidel/polymer-change/blob/master/demos/spa.html> that
does pretty much exactly what you describe (you can see it running here
<http://polymer-change.appspot.com/demos/spa.html#one>). It uses core-pages
<http://www.polymer-project.org/docs/elements/core-elements.html#core-pages> to
respond to a URL change by displaying a different template. The URL change
is coming from the flatiron-director
<https://github.com/PolymerLabs/flatiron-director> element. The pages are
already loaded so it's quite snappy, the one thing it doesn't do is load
additional pages using ajax (which you may or may not need). We're planning
to clean this example up and present it as a more thorough explanation in
the future, but if you want to get up and running now, you can just take
Eric's code and modify it.


On Wed, Jul 2, 2014 at 11:53 PM, Vikas Singhal <[email protected]>
wrote:

> Hi,
>
> I am trying to use core-scaffold component. I have used core-menu
> component to create menus, now I want to load url specified by 'href'
> property in core-item to load into content area of core-scaffold. Is there
> a component already or do we need to create a custom one for this?
>
> I hope my question was clear, feel free to ask if you need more info.
>
> Vikas
>
> 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/d05bbbb8-515a-4217-9dcd-11d1dc042889%40googlegroups.com
> <https://groups.google.com/d/msgid/polymer-dev/d05bbbb8-515a-4217-9dcd-11d1dc042889%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

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/CAJj5OwAaPPjOzQQ-WCwdN7M_ktJ9UcFtmPyJHVDDFvf%2BsrBBPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to