Jelajahi Sumber

Merge pull request #1431 from jonnitto/fix_el_example

Fix $el example in documenation
Caleb Porzio 4 tahun lalu
induk
melakukan
3c860cbec7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/docs/src/en/magics/el.md

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

@@ -9,7 +9,7 @@ title: el
 `$el` is a magic property that can be used to retrieve the current DOM node.
 `$el` is a magic property that can be used to retrieve the current DOM node.
 
 
 ```html
 ```html
-<button @click="$el.innerHTML = 'foo'">Replace me with "foo"</button>
+<button @click="$el.innerHTML = 'Hello World!'">Replace me with "Hello World!"</button>
 ```
 ```
 
 
 <!-- START_VERBATIM -->
 <!-- START_VERBATIM -->