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.
2 parents 1762d37 + 42ae908 commit 0ccc944Copy full SHA for 0ccc944
src/components/InfiniteLoading.vue
@@ -92,6 +92,14 @@
92
this.isNoMore = true;
93
this.scrollParent.removeEventListener('scroll', this.scrollHandler);
94
},
95
+ '$InfiniteLoading:reset'() {
96
+ this.isLoading = false;
97
+ this.isNoMore = false;
98
+ this.isNoResults = false;
99
+ this.scrollParent.addEventListener('scroll', this.scrollHandler);
100
+
101
+ this.scrollHandler();
102
+ },
103
104
destroyed() {
105
if (!this.isNoResults && !this.isNoMore) {
0 commit comments