Skip to content

Commit e8064db

Browse files
+ added body prepend and append slots
1 parent 12130f7 commit e8064db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/components/DataTable.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@
8080
class="vue3-easy-data-table__body"
8181
:class="{'row-alternation': alternating}"
8282
>
83+
<slot
84+
name="body.prepend"
85+
/>
8386
<template
8487
v-for="(item, index) in pageItems"
8588
:key="index"
@@ -140,6 +143,9 @@
140143
</td>
141144
</tr>
142145
</template>
146+
<slot
147+
name="body.append"
148+
/>
143149
</tbody>
144150
</table>
145151
<div

0 commit comments

Comments
 (0)