0.0.5 • Published 8 months ago

vue-virtual-waterfall-simon v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

vue-virtual-waterfall-simon

vue3 版本的个人的虚拟瀑布流组件,解决了路由切换滚动条复位的问题

安装

npm install vue-virtual-waterfall-simon

import VirtualWaterfall from 'vue-virtual-waterfall-simon-he'

const app = createApp(App)
app.component('VirtualWaterfall', VirtualWaterfall)

示例

vue3 demo

参数

{
  gap: 15,
  maxColumnCount: undefined, // undefined 自适应
  minColumnCount: 2,
  itemMinWidth: 250, // 图片宽度
  itemHeight: '自动',
  showText: true
}

References

License

MIT License © 2022 Simon He

sponsors

0.0.5

8 months ago

0.0.4

8 months ago

0.0.3

9 months ago

0.0.2

9 months ago