0.0.29 • Published 2 years ago

auto-virtual-list v0.0.29

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

基于 vue3 开发的虚拟滚动(无缝轮播)列表组件

何时使用

  • 需要在列表中渲染大量数据
  • 需要分页展示
  • 需要实现无缝滚动自动轮播

基本用法

<VirtualList :get-list="getaList" :item-height="100">
  <template v-slot:default="{item}">
    <div class="list-item">{{ item }}</div>
  </template>
</VirtualList>

API 介绍

参数说明类型默认值
getList数据请求函数(params:any)=>Promise-
itemHeight列表中单个元素的高度number-
swiper是否自动轮播numbertrue
isPaging是否分页booleantrue
formatResponseData格式化返回数据(response:any)=> {total:number;data:any[]}true
0.0.28

2 years ago

0.0.29

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.25

2 years ago

0.0.24

2 years ago

0.0.23

2 years ago

0.0.22

2 years ago

0.0.21

2 years ago

0.0.20

2 years ago

0.0.19

2 years ago

0.0.18

2 years ago

0.0.17

2 years ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago