You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,11 @@
6
6
7
7
**[Requires ES2015 classes](https://caniuse.com/es6-class). IE11 and below not supported.**
8
8
9
-
-**If targeting browsers that natively supports ES2015, but not native Web Components:**
9
+
-**If targeting browsers that natively support ES2015, but not native Web Components:**
10
10
11
11
You will also need the [Shady DOM + Custom Elements polyfill](https://github.com/webcomponents/webcomponentsjs/blob/master/webcomponents-sd-ce.js).
12
12
13
-
See caniuse for support on [Custom Elements v1](https://caniuse.com/#feat=custom-elementsv1) and [Shadow DOM v1](https://caniuse.com/#feat=shadowdomv1).
13
+
See caniuse.com for support on [Custom Elements v1](https://caniuse.com/#feat=custom-elementsv1) and [Shadow DOM v1](https://caniuse.com/#feat=shadowdomv1).
14
14
15
15
-**Note on CSS Encapsulation When Using the Shady DOM polyfill**
Note it works with async components as well - the async component factory will only be called when an instance of the custom element is created on the page:
42
+
It works with async components as well - you can pass an async component factory function that returns a Promise, and the function will only be called when an instance of the custom element is created on the page:
0 commit comments