Slots
spinner
- Details: Used to create a custom loading spinner
- example:
html
<template #spinner>
<span>loading...</span>
</template>
complete
Details: Used to create a custom display message when there is no more data (
$state.complete
)example:
html
<template #complete>
<span>No more data found!</span>
</template>
error
bind:
retry
functionDetails: Used to create a custom display message when an error occures (
$state.error
)example:
html
<template #error="{ retry }">
<button @click="retry">Retry</button>
</template>