Caleb Porzio il y a 5 ans
Parent
commit
3bec25b1a6
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      README.md

+ 6 - 0
README.md

@@ -97,6 +97,12 @@ You can extract data (and behavior) into reausable functions like so:
 </script>
 ```
 
+You can also mix-in multiple data objects with syntax like so:
+
+```html
+<div x-data="{...dropdown(), ...tabs()}">
+```
+
 ---
 
 ### `x-bind`