We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ddbfb3 commit 5a17846Copy full SHA for 5a17846
example/index.html
@@ -36,11 +36,6 @@
36
distance: 100,
37
list: []
38
},
39
- ready: function () {
40
- for (var i = 0; i < 50; i++) {
41
- this.list.push(i + 1);
42
- }
43
- },
44
methods: {
45
onInfinite: function () {
46
setTimeout(function () {
src/components/InfiniteLoading.vue
@@ -1,8 +1,10 @@
1
<template>
2
- <div class="infinite-loading-container" v-show="isLoading">
3
- <slot name="spinner">
4
- <i :class="spinnerType"></i>
5
- </slot>
+ <div class="infinite-loading-container">
+ <div v-show="isLoading">
+ <slot name="spinner">
+ <i :class="spinnerType"></i>
6
+ </slot>
7
+ </div>
8
<div class="infinite-status-prompt" v-show="!isLoading && isComplete && isFirstLoad">
9
<slot name="no-results">No results :(</slot>
10
</div>
0 commit comments