Explorar o código

Correct comment in code example

Jon Uhlmann %!s(int64=4) %!d(string=hai) anos
pai
achega
0c6add6064
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>