3 ms·
>Yes, Polymer 1.0+ backs off from this a little bit) I didn't know about this, any guidance on why?
by cheapsteak 11y ago
>Yes, Polymer 1.0+ backs off from this a little bit)
I didn't know about this, any guidance on why?
- nevir 11y agoPolymer 1.0 has support for shadow DOM, but also what they call "Shady DOM": https://www.polymer-project.org/1.0/articles/shadydom.html https://www.polymer-project.org/1.0/articles/shadydom.html TL;DR: Shady DOM provides an API that is similar to shadow DOM, but without all the crazy overhead when polyfilling it. The downside is that it's not quite transparent to someone outside of a Polymer element