Releases: PeachScript/vue-infinite-loading
Releases · PeachScript/vue-infinite-loading
v2.4.5
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0 "10.24"
Happy Programmer's Day!
This version contains some notable changes and a lot of new features, you may need to spend some time reading them, I believe these changes can help you build application more easily :)
Notable changes
- Deprecate the 
$InfiniteLoading:resetevent, useidentifierproperty instead, because it is not a elegant way that getting the instance and communicate via event. Since this verison, theInfiniteLoadingcomponent will be reset whenever theidentifierproperty is changed, so you can change your reset logic like this: 
<template>
  <!-- ... -->
  <infinite-loading :identifier="infiniteId"></infinite-loading>
  <!-- ... -->
</template>
<script>
export default {
  data() {
    return { identifier: +new Date() };
  },
  methods: {
    reset() {
      this.identifier += 1; // or any expression can change identifier value
    },
  },
};
</script>New
- The scroll height will be save and restore automatically when the direction is set to 
top, it means we can create a top-direction infinite scroll list out of the box! - Support configure default values of 
props, default contents ofslotsand default system settings via the plugin API, read more - Add a new status named 
errorto control message display when loading error, read more - A full-new documentation website, powered by Vuepress
 
Improvements
- To avoid inherit styles when configure complex load message via slot special attr, read more
 - Better logger system, only output error message in production
 
v2.3.5
v2.3.3
Improvements
- Improve throttle logic to ensure the trailing call.
 
v2.3.2
Improvements
- Support passive event listener #173 , contributed by @patrickabkarian
 - Use throttle instead of debounce #160 , contributed by @whdckszxxx
 - Add banner into dist file when bundle in production #154
 
v.2.3.1
New
- Add TypeScript declaration file, contributed by @phil-scott-78