Skip to content

Commit eecab3f

Browse files
committed
readme
1 parent c55c76e commit eecab3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
**[Requires ES2015 classes](https://caniuse.com/es6-class). IE11 and below not supported.**
88

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:**
1010

1111
You will also need the [Shady DOM + Custom Elements polyfill](https://github.com/webcomponents/webcomponentsjs/blob/master/webcomponents-sd-ce.js).
1212

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).
1414

1515
- **Note on CSS Encapsulation When Using the Shady DOM polyfill**
1616

@@ -39,7 +39,7 @@ const CustomElement = wrap(Vue, Component)
3939
window.customElements.define('my-element', CustomElement)
4040
```
4141

42-
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:
4343

4444
``` js
4545
const CustomElement = wrap(Vue, () => import(`MyComponent.vue`))

0 commit comments

Comments
 (0)