Comments (2)
你好,感谢关注此插件。
我在readme里写了一段话:ajax建议自己写,无特殊情况不必copy我的ajax写法。
因为github里没法弄数据库,所以我只能用json模拟,而json又无法分段读取,所以造成现在demo里一次性加载出来。
正规做法应该是请求后台接口,返回指定页数和数量的数据,相信你们后台开发写过分页的都懂。
from dropload.
最新版已经加入ajax获取后台分页数据了,欢迎参考。
from dropload.
Related Issues (20)
- 结合vue时使用,resetload无限问题。 HOT 1
- 数据不够的时候会循环已有的数据去撑满屏幕
- 下拉刷新,在网页中无法使用,只能在手机上使用 HOT 1
- 调用系统截图导致数据加载
- 首次进入页面 会加载两次 HOT 4
- 用angluarjs跳转state时不会触发loadDownFn
- 上拉加载数据有bug
- 删除dom之后无法触发下拉加载
- 能添加回到顶部功能么 HOT 3
- dropload在iphone中加载不上去
- 页面还没到最上面时会误触加载
- 用AJAX拼接数据的时候没到最底部会触发加载
- 如何页面加载时 自动触发一次下拉刷新呢?求解! HOT 5
- 如何移除dropload事件
- 多个一个页面有多个tap下拉事件的时候,增加一个搜索功能,如何在点击bottom的时候刷新页面
- 上拉或者下滑的时候怎么计算当前页码? HOT 1
- 不得不说这个框架的小bug是真的多,而且在群里咨询没你鸟你,我以撤回我的星星,失望 HOT 1
- 作者是不是没标记语言,在JavaScript里面搜索不到。
- 这个插件能够兼容pc端吗
- 手机端会触发两次加载更多
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropload.