Explorar el Código

Fix $el example
Use the same wording as in the demo

Jon Uhlmann hace 4 años
padre
commit
fcf3be7253
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 -->