paper-tabs issue ?

35 views
Skip to first unread message

bruno darrigues

unread,
Jan 1, 2016, 3:35:02 PM1/1/16
to Polymer

hi the community

here is a coepen to illustrate my issue :+1: http://codepen.io/burno75/pen/LGbLoM

working : remove jack paper-tab -> annick selected and content 2 displayed OK
not working : remove annick paper-tab -> KO jack paper-tab not selected (and his iron-page content1 not visible)

Any idea ?

is there any compenent like chrome tabs ?

best regards
Bruno

Rob Dodson

unread,
Jan 2, 2016, 7:59:40 PM1/2/16
to bruno darrigues, Polymer
I think you need to set the selected value for paper-tabs. Here's a really quick example. Click on the tab that says 'bar' and notice how in the handler I change the selected tab.

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/320ec4ab-f6e4-4cc8-b755-018f41a1574d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rob Dodson

unread,
Jan 2, 2016, 7:59:49 PM1/2/16
to bruno darrigues, Polymer
Oops forgot to include the link: https://jsbin.com/qodaji/2/edit?html,output
Reply all
Reply to author
Forward
0 new messages