Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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]

Awesome Lists containing this project

README

        

# vue-virt-list 虚拟列表 虚拟滚动列表 虚拟树




Downloads
Version
License

## Documentation

To check out docs, visit vue-virt-list

👉 Advantages

## 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

开源不易,如果帮助到你,请作者喝杯咖啡吧~


## WeChat

有问题可扫码加好友进入技术交流群(备注github账号名)