diff --git a/README.md b/README.md index 0eb5d54..e70b0b0 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ This mental model attempts to reduce the cognitive complexity of authoring compo Attributes are generally in `kebab-case`. You can access attribute properties in two ways 1. Use the camelCase counterpart: `this.myProp`, which is automatically filled. -1. Or stick with kebab-case: `this[my-prop]` +1. Or stick with kebab-case: `this["my-prop"]` ```js class HelloWorld extends WebComponent { @@ -107,7 +107,7 @@ class HelloWorld extends WebComponent { get template() { return `