Loading slot
You can use loading slot to customize loading effect:
<EasyDataTable
:headers="headers"
:items="items"
>
<template #loading>
<img
src="https://i.pinimg.com/originals/94/fd/2b/94fd2bf50097ade743220761f41693d5.gif"
style="width: 100px; height: 80px;"
/>
</template>
</EasyDataTable>
Attention: this is a new feature since version 1.1.4
Example
| Name | Address | Height | Weight | Age | Favourite sport | Favourite fruits |
|---|

You can use empty-message to customize empty message:
<EasyDataTable
:headers="headers"
:items="items"
>
<template #empty-message>
<a href="https://google.com">nothing here</a>
</template>
</EasyDataTable>
Example
| Name | Address | Height | Weight | Age | Favourite sport | Favourite fruits |
|---|
⚠️
loading slotfeature is based on theslotsfeature of vue.js. So before using theloading slotfeature in vue3-easy-data-table, Please make sure you have known how to use theslotsfeature of vue.js.
