mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-20 14:01:17 -04:00
31 lines
702 B
Vue
31 lines
702 B
Vue
<template>
|
|
<vue-eternal-loading v-if="load && !loaded" :load="load">
|
|
<template #loading>
|
|
<div class="columns is-centered">
|
|
<div class="column has-text-centered">
|
|
<mdicon class="icon mdi-spin" name="loading" />
|
|
</div>
|
|
</div>
|
|
</template>
|
|
<template #no-more>
|
|
<br />
|
|
</template>
|
|
<template #no-results>
|
|
<br />
|
|
</template>
|
|
</vue-eternal-loading>
|
|
</template>
|
|
|
|
<script>
|
|
import { VueEternalLoading } from '@ts-pro/vue-eternal-loading'
|
|
|
|
export default {
|
|
name: 'LoaderListItem',
|
|
components: { VueEternalLoading },
|
|
props: {
|
|
load: { default: null, type: Function },
|
|
loaded: { default: true, type: Boolean }
|
|
}
|
|
}
|
|
</script>
|