fix: readme example
This commit is contained in:
parent
42ad333201
commit
8c06069b25
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ In your component class:
|
||||||
import WebComponent from "https://unpkg.com/web-component-base/index.js";
|
import WebComponent from "https://unpkg.com/web-component-base/index.js";
|
||||||
|
|
||||||
class HelloWorld extends WebComponent {
|
class HelloWorld extends WebComponent {
|
||||||
name = "World";
|
dataName = "World";
|
||||||
emotion = "excited";
|
emotion = "excited";
|
||||||
|
|
||||||
static properties = ["data-name", "emotion"];
|
static properties = ["data-name", "emotion"];
|
||||||
|
|
Loading…
Reference in a new issue