Skip to content

Commit 0ac580e

Browse files
authored
docs: typo (#1408)
1 parent acf78d3 commit 0ac580e

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
@@ -195,7 +195,7 @@ Another example is the `v-on` directive, which listens to DOM events:
195195
<a v-on:click="doSomething"> ... </a>
196196
197197
<!-- shorthand -->
198-
<a @click="url"> ... </a>
198+
<a @click="doSomething"> ... </a>
199199
```
200200

201201
Here the argument is the event name to listen to: `click`. `v-on` is one of the few directives that also have a corresponding shorthand, with its shorthand character being `@`. We will talk about event handling in more detail too.

0 commit comments

Comments
 (0)