Skip to content

Commit 2b3c219

Browse files
docs(template-syntax.md): add closing tag (#2656)
1 parent 7fc9606 commit 2b3c219

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/template-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ Similarly, you can use dynamic arguments to bind a handler to a dynamic event na
239239
<a v-on:[eventName]="doSomething"> ... </a>
240240
241241
<!-- shorthand -->
242-
<a @[eventName]="doSomething">
242+
<a @[eventName]="doSomething"> ... </a>
243243
```
244244

245245
In this example, when `eventName`'s value is `"focus"`, `v-on:[eventName]` will be equivalent to `v-on:focus`.

0 commit comments

Comments
 (0)