Skip to content

Commit 5eaf63b

Browse files
authored
[docs] - fix button close tag (#1352)
1 parent 24f0803 commit 5eaf63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lit-dev-content/site/docs/v3/templates/expressions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Element expressions only work with [directives](/docs/v3/templates/directives/).
338338
One built-in directive that can be used in an element expression is the `ref` directive. It provides a reference to the rendered element.
339339

340340
```js
341-
html`<button ${ref(this.myRef)}`;
341+
html`<button ${ref(this.myRef)}></button>`;
342342
```
343343

344344
See [ref](/docs/v3/templates/directives/#ref) for more information.

0 commit comments

Comments
 (0)