Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keno-lee/vue-tiny-virtual-list
【持续更新中】⚡️ 一个支持vue2&vue3的高性能虚拟(滚动)列表组件 👉🏻 轻量5KB 百万数据渲染 满帧率滚动 丰富场景支持 📑 [vue虚拟列表] [vue虚拟滚动列表][vue虚拟树] [vue-virtual-list] [vue-virtual-scroll-list] [vue-virtual-scroller] [vue-virt-tree]
https://github.com/keno-lee/vue-tiny-virtual-list
virt-list virtual-list virtual-scroll-list virtual-scroller virtualized-list vue-virt-tree vue-virtual-list vue-virtual-tree vue2 vue3
Last synced: 22 days ago
JSON representation
【持续更新中】⚡️ 一个支持vue2&vue3的高性能虚拟(滚动)列表组件 👉🏻 轻量5KB 百万数据渲染 满帧率滚动 丰富场景支持 📑 [vue虚拟列表] [vue虚拟滚动列表][vue虚拟树] [vue-virtual-list] [vue-virtual-scroll-list] [vue-virtual-scroller] [vue-virt-tree]
- Host: GitHub
- URL: https://github.com/keno-lee/vue-tiny-virtual-list
- Owner: keno-lee
- License: mit
- Created: 2023-10-23T06:51:08.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-28T11:53:21.000Z (23 days ago)
- Last Synced: 2024-10-29T17:14:05.372Z (22 days ago)
- Topics: virt-list, virtual-list, virtual-scroll-list, virtual-scroller, virtualized-list, vue-virt-tree, vue-virtual-list, vue-virtual-tree, vue2, vue3
- Language: TypeScript
- Homepage: https://keno-lee.github.io/vue-virt-list/
- Size: 153 MB
- Stars: 296
- Watchers: 14
- Forks: 39
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-virt-list 虚拟列表 虚拟滚动列表 虚拟树
## Documentation
To check out docs, visit vue-virt-list
## Quick Start
```shell
npm install vue-virt-list -S
```### Options API
```html
{{ index }} - {{ itemData.id }} - {{ itemData.text }}
import { VirtList } from 'vue-virt-list';
export default {
components: { VirtList },
data() {
return {
list: [{ id: 0, text: 'text' }],
};
},
};```
### Composition API
```html
{{ index }} - {{ itemData.id }} - {{ itemData.text }}
import { ref, shallowRef } from 'vue';
import { VirtList } from 'vue-virt-list';
const list = ref([{ id: 0, text: 'text' }]);// 大数据建议使用 shallowRef: https://keno-lee.github.io/vue-virt-list/guide/instructions#shallowref
// const list = shallowRef([{ id: 0, text: 'text' }])```
## Sponsor
开源不易,如果帮助到你,请作者喝杯咖啡吧~
有问题可扫码加好友进入技术交流群(备注github账号名)