2018-08-31 16:12:48 +00:00
|
|
|
<div class="loading-footer {shown ? '' : 'hidden'}">
|
2018-05-02 00:05:36 +00:00
|
|
|
<LoadingSpinner size={48} />
|
2018-01-22 00:07:11 +00:00
|
|
|
<span class="loading-footer-info">
|
|
|
|
Loading more...
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<style>
|
|
|
|
.loading-footer {
|
|
|
|
padding: 20px 0 10px;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.loading-footer-info {
|
|
|
|
margin-left: 20px;
|
|
|
|
font-size: 1.3em;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script>
|
2018-01-28 00:35:44 +00:00
|
|
|
import LoadingSpinner from '../LoadingSpinner.html'
|
2018-08-31 16:12:48 +00:00
|
|
|
import { store } from '../../_store/store'
|
|
|
|
|
2018-01-22 00:07:11 +00:00
|
|
|
export default {
|
2018-08-31 16:12:48 +00:00
|
|
|
store: () => store,
|
|
|
|
computed: {
|
|
|
|
shown: ({ $timelineInitialized, $runningUpdate }) => ($timelineInitialized && $runningUpdate)
|
|
|
|
},
|
2018-01-22 00:07:11 +00:00
|
|
|
components: {
|
|
|
|
LoadingSpinner
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|