vue-forward-slots
Advanced tools
Comparing version
{ | ||
"name": "vue-forward-slots", | ||
"version": "5.0.1", | ||
"version": "5.0.2", | ||
"description": "Forward slots to child components", | ||
@@ -5,0 +5,0 @@ "author": "Jesse Gall", |
@@ -135,4 +135,3 @@ # Vue Forward Slots | ||
The TableBodyComponent also has access to the slots defined in the root component. If no slot is provided, it will | ||
default to the text in the slot. | ||
The TableBodyComponent also has access to the slots defined in the root component. Notice how we also pass the user data. | ||
@@ -144,3 +143,3 @@ ```vue | ||
<td> | ||
<slot name="name-column" :user="user"> | ||
<slot name="name-cell" :user="user"> | ||
{{ user.name }} | ||
@@ -150,3 +149,3 @@ </slot> | ||
<td> | ||
<slot name="status-column" :user="user"> | ||
<slot name="status-cell" :user="user"> | ||
{{ user.status }} | ||
@@ -153,0 +152,0 @@ </slot> |
7818
-0.38%206
-0.48%