How to use old shadow DOM polyfill?

22 views
Skip to first unread message

andreas...@hotmail.de

unread,
Jul 27, 2015, 12:01:39 AM7/27/15
to Polymer
Hey guys,
I wanna try switching back to the old full shadow DOM polyfill until shady DOM works better. How do I use the old polyfill? I don't think just using webcomponents.js versus webcomponents-lite.js does the trick. Do I need to do something aside from doing that?

Steve Orvell

unread,
Jul 27, 2015, 12:49:42 PM7/27/15
to andreas...@hotmail.de, Polymer
Here's an example of how to use the Shadow DOM polyfill: http://jsbin.com/kagedowati/1/edit?html,output.

1. load `webcomponents.js` instead of `webcomponents-lite.js`
2. tell polymer to use Shadow DOM: `Polymer = {dom: 'shadow'}`

It would be helpful get some feedback on the issues you're having with using Shady DOM. Thanks.

On Sun, Jul 26, 2015 at 9:01 PM, <andreas...@hotmail.de> wrote:
Hey guys,
I wanna try switching back to the old full shadow DOM polyfill until shady DOM works better. How do I use the old polyfill? I don't think just using webcomponents.js versus webcomponents-lite.js does the trick. Do I need to do something aside from doing that?

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/985ab16b-4f01-4ea8-9364-69594bccd758%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages