Skip to content

Commit

Permalink
docs(template-syntax.md): add closing tag (#2656)
Browse files Browse the repository at this point in the history
  • Loading branch information
leanhvu21042001 committed Jan 11, 2024
1 parent 7fc9606 commit 2b3c219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/essentials/template-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Similarly, you can use dynamic arguments to bind a handler to a dynamic event na
<a v-on:[eventName]="doSomething"> ... </a>
<!-- shorthand -->
<a @[eventName]="doSomething">
<a @[eventName]="doSomething"> ... </a>
```

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

0 comments on commit 2b3c219

Please sign in to comment.