Y
Hacker News
new
|
ask
|
show
|
jobs
by
andreapaiola
3690 days ago
Yeah, but last time I checked it fails: for example there isn't a way to polyfill shadow DOM...
2 comments
david-given
3690 days ago
Polymer 1.0 doesn't use shadow DOM (unless you ask it to). Instead it uses this thing called 'shady DOM', which is roughly equivalent but requires accesses to the DOM to go through APIs.
See here for the details:
https://www.polymer-project.org/1.0/articles/shadydom.html
link
tdumitrescu
3690 days ago
The difference between the webcomponents.js polyfill and webcomponents-lite.js is precisely that the former includes the shadow dom polyfill.
link
See here for the details:
https://www.polymer-project.org/1.0/articles/shadydom.html