Explorar el Código

Merge pull request #1431 from jonnitto/fix_el_example

Fix $el example in documenation
Caleb Porzio hace 4 años
padre
commit
3c860cbec7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.
 
 ```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 -->