GithubHelp home page GithubHelp logo

xtongs / vue-recyclist Goto Github PK

View Code? Open in Web Editor NEW
262.0 262.0 60.0 908 KB

Infinite scroll list for Vue.js with DOM recycling.

Home Page: https://xtongs.github.io/vue-recyclist/

License: MIT License

HTML 0.18% Vue 8.33% JavaScript 91.49%
infinite-scroll vue vue-recyclist

vue-recyclist's People

Contributors

egoist avatar xtongs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-recyclist's Issues

Grid Version

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?

列表加载中的一些问题

repo主你好
看过demo后发现很符合我的需求,
回收dom,渲染页面不会卡顿,
但是我遇到了一个很奇葩的问题
在有图的列表中 滑动会导致图片消失/显示的情况
而且 item的数据也会变化
很奇怪,不知道能否看看
绝对不是安利...
http://test-plus.zhibocloud.cn/web
18908019700 870811 账号以及密码

加载更多失败的处理

首先代码很精彩,收获很多,感谢!
然后我有一个疑问,就是这种无限滚动的形式,采用墓碑的形式去先做占位,然后去请求数据,如果这个时候请求数据失败了应该怎么处理呢?特别是你滑动比较快的时候,下面可能出现了很多墓碑了,如果这个时候去还原可能体验不会太好。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.