xtongs / vue-recyclist Goto Github PK
View Code? Open in Web Editor NEWInfinite scroll list for Vue.js with DOM recycling.
Home Page: https://xtongs.github.io/vue-recyclist/
License: MIT License
Infinite scroll list for Vue.js with DOM recycling.
Home Page: https://xtongs.github.io/vue-recyclist/
License: MIT License
Can vue-recyclist be used in a grid format instead of having all items stacked vertically? I want to be able to show multiple items in a row that is responsive based on resize of screen width. So if I have 100 widgets that I want to display with 20 at a time. Each widget is 500px wide. So on a laptop, I can generally display two widgets per row or 1 widget per row on a phone but 3 or 4 widgets on a large screen monitor. So I want to be able to display items horizontally and then wrap to the next row instead of having all the widgets display in one vertical layout. Can this be done with vue-recyclist?
有没有react版本呢大侠
repo主你好
看过demo后发现很符合我的需求,
回收dom,渲染页面不会卡顿,
但是我遇到了一个很奇葩的问题
在有图的列表中 滑动会导致图片消失/显示的情况
而且 item的数据也会变化
很奇怪,不知道能否看看
绝对不是安利...
http://test-plus.zhibocloud.cn/web
18908019700 870811 账号以及密码
首先代码很精彩,收获很多,感谢!
然后我有一个疑问,就是这种无限滚动的形式,采用墓碑的形式去先做占位,然后去请求数据,如果这个时候请求数据失败了应该怎么处理呢?特别是你滑动比较快的时候,下面可能出现了很多墓碑了,如果这个时候去还原可能体验不会太好。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.