Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 80d60d3

Browse files
MacDadachrisvfritz
authored andcommitted
instance: @click => v-on:click (vuejs#1512)
This chapter is just after introduction, which doesn't tell us anything about `@` syntax. Only syntax already introduced should be used.
1 parent b0dda9d commit 80d60d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/v2/guide/instance.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ new Vue({
9797
<div id="app">
9898
<p>{{ foo }}</p>
9999
<!-- this will no longer update `foo`! -->
100-
<button @click="foo = 'baz'">Change it</button>
100+
<button v-on:click="foo = 'baz'">Change it</button>
101101
</div>
102102
```
103103

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /