Browse Source

Correct comment in code example

Jon Uhlmann 4 years ago
parent
commit
0c6add6064
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/docs/src/en/magics/dispatch.md

+ 1 - 1
packages/docs/src/en/magics/dispatch.md

@@ -86,7 +86,7 @@ You can also take advantage of the previous technique to make your components ta
 <div x-data>
     <button @click="$dispatch('set-title', 'Hello World!')">...</button>
 </div>
-<!-- When clicked, will console.log "Hello World!". -->
+<!-- When clicked, the content of the h1 will set to "Hello World!". -->
 ```
 
 <a name="dispatching-to-x-model"></a>