0.0.29 • Published 3 years ago

auto-virtual-list v0.0.29

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

0.0.29

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago