diff --git a/README.md b/README.md index fb95470..f666fb9 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,8 @@ In your HTML page: setTimeout(() => { helloWorld.setAttribute('emotion', 'excited'); + // or: + helloWorld.props.emotion = 'excited'; }, 2500)
-