Load different components on tab change

166 views
Skip to first unread message

Harald Belge

unread,
Aug 30, 2014, 3:00:44 AM8/30/14
to polym...@googlegroups.com
In the context of an SPA I want to have 3 different views (for want of a better word).  One is a set of filters than can be applied to large list of restaurants; the next is a listing of relevant restaurants; and the plots these on a map.

All the demos I can find so far basically just show different content in the same template when you switch tabs, whereas I want to use very different content on each one.

Can anyone point me in the right direction (for paper-tabs if that makes a difference)

steven

unread,
Aug 30, 2014, 11:47:59 AM8/30/14
to polym...@googlegroups.com
I'd take a look at core-pages or core-animated-pages. You can show whatever you want on each page & the tabs will let you index through them.

Eric Bidelman

unread,
Aug 30, 2014, 2:27:58 PM8/30/14
to steven, polymer-dev


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 polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/9fe0dc19-c075-4b13-86ce-3382ec947886%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages