X-tag inside Polymer Element

34 views
Skip to first unread message

Leonardo Hernández

unread,
Sep 30, 2014, 1:27:54 PM9/30/14
to polym...@googlegroups.com
Hi! new to polymer, i tried to use x-tag element inside polymer element and dosen't work, but outside i can use it. Any tips to point to the right direction. 

That's the element, the component is very simple. 

"<x-switch onText="Good" offText="Bad"></x-switch>"  

Rob Dodson

unread,
Sep 30, 2014, 3:59:08 PM9/30/14
to Leonardo Hernández, polymer-dev
Hi Leonardo,

x-tag lacks support for Shadow DOM so the styles for the x-switch are probably not getting through. You could modify the x-tag switch stylesheet to use /deep/ combinators and that may fix things.

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/d068f46c-a16e-48a3-901a-2463fe17d415%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages