Explorar el Código

Update README.md

Jeroen van Rensen hace 4 años
padre
commit
6d2dda8be2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -178,7 +178,7 @@ And 6 magic properties:
 
 
 **Structure:** `<div x-data="[object literal]">...</div>`
 **Structure:** `<div x-data="[object literal]">...</div>`
 
 
-`x-data` declares a new component scope. It tells the framework to initialize a new component with the following data object.
+`x-data` declares a new component scope. It tells the framework to initialize a new component with the following data object. It's also possible to leave it empty when you don't have any data in your component.
 
 
 Think of it like the `data` property of a Vue component.
 Think of it like the `data` property of a Vue component.