Caleb Porzio 5 年之前
父節點
當前提交
3bec25b1a6
共有 1 個文件被更改,包括 6 次插入0 次删除
  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`