-
Notifications
You must be signed in to change notification settings - Fork 0
IE and browser support
Gabriel Forti edited this page Aug 6, 2018
·
1 revision
Firefox | Chrome | Safari | Opera | iOS | Android |
---|---|---|---|---|---|
59+ (--flag) | 54+ | 10.1+ | 42+ | 10.3+ | 55+ |
IE / Edge | Firefox | Chrome | Safari | Opera | iOS | Android |
---|---|---|---|---|---|---|
IE9+, Edge | ? | ✓ | ✓ | ✓ | ✓ | ✓ |
So IE currently does not have any support, but with just a few changes IE can support custom elements.
- Do not use
:host
in the css of the custom element. IE does not support this at all - Install this NPM module to include the polyfill
@webcomponents/webcomponentsjs
You will want to load the polyfill in the header. I recommend the loader since will will not load anything unless it has too.
<script src="node_modules/@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
I have not tested all the quirks on IE. This polyfill does not work on
Firefox
but they are close to a full support release. Custom elements are supported inChrome
andSafari
.