We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f0803 commit 5eaf63bCopy full SHA for 5eaf63b
packages/lit-dev-content/site/docs/v3/templates/expressions.md
@@ -338,7 +338,7 @@ Element expressions only work with [directives](/docs/v3/templates/directives/).
338
One built-in directive that can be used in an element expression is the `ref` directive. It provides a reference to the rendered element.
339
340
```js
341
-html`<button ${ref(this.myRef)}`;
+html`<button ${ref(this.myRef)}></button>`;
342
```
343
344
See [ref](/docs/v3/templates/directives/#ref) for more information.
0 commit comments