Skip to content

Commit af4c01a

Browse files
authored
Merge pull request #78 from github/joshmgross/fix-render-typo
Use this.#name in render example
2 parents c109c27 + ffa1829 commit af4c01a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/_guide/rendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class HelloWorldElement extends HTMLElement {
100100
update() {
101101
render(() => html`
102102
<div>
103-
Hello <span>${ this.name }</span>
103+
Hello <span>${ this.#name }</span>
104104
</div>`,
105105
this.shadowRoot!)
106106
}

0 commit comments

Comments
 (0)