Description:
High level Vue.js 2.x component for virtual list where each item height is not known before render.
The number of rendered components is calculated by accumulating each item height to see how many fit in totalHeight
. Each item height is assumed to be defaultHeight
, until it is actually rendered. When that happens the correct value is cached and used for later calculations
Preview:
Changelog:
10/03/2019
- Add backward scroll, setIndex method and refactor updated/mouted hooks
Download Details:
Author: cristovao-trevisan
Live Demo: https://cristovao-trevisan.github.io/vue-auto-virtual-scroll-list/
Download Link: https://github.com/cristovao-trevisan/vue-auto-virtual-scroll-list/archive/master.zip
Official Website: https://github.com/cristovao-trevisan/vue-auto-virtual-scroll-list
Install & Download:
# NPM
$ npm install vue-auto-virtual-scroll-list --save