chore: update readme
This commit is contained in:
parent
566840c901
commit
3e76af7412
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
Web Component Base
|
||||
---
|
||||
|
||||
[](https://www.npmjs.com/package/web-component-base)
|
||||
[](https://www.npmjs.com/package/web-component-base)
|
||||
[](https://www.npmjs.com/package/web-component-base)
|
||||
|
@ -103,7 +102,7 @@ Here is an example of using a custom element in a single .html file:
|
|||
import WebComponent from "https://unpkg.com/web-component-base";
|
||||
|
||||
class HelloWorld extends WebComponent {
|
||||
static properties = ["name", "emotion"];
|
||||
static properties = ["name"];
|
||||
|
||||
get template() {
|
||||
return `<h1>Hello ${this.name || 'World'}!</h1>`;
|
||||
|
|
Loading…
Reference in a new issue