Skip to content
On this page

Slots

spinner

  • Details: Used to create a custom loading spinner
  • example:
<template #spinner>
  <span>loading...</span>
</template>

complete

  • Details: Used to create a custom display message when there is no more data ($state.complete)

  • example:

<template #complete>
  <span>No more data found!</span>
</template>

error

  • bind: retry function

  • Details: Used to create a custom display message when an error occures ($state.error)

  • example:

<template #error="{ retry }">
  <button @click="retry">Retry</button>
</template>
Slots has loaded