We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前是容器进入区域,就一股脑的把里面的图片全去加载了。 比如手机上,无限加载的列表页,每次ajax得到16~32个图片地址,插入进ul列表,所有图片会同时去加载,没得到想要的效果。
api应该是传入图片的容器,但是应该判断容器里的每个图片是否进入可视区。
The text was updated successfully, but these errors were encountered:
应该还要添加一个 add 函数,将动态加入的元素添加到检测队列中。
Sorry, something went wrong.
No branches or pull requests
目前是容器进入区域,就一股脑的把里面的图片全去加载了。
比如手机上,无限加载的列表页,每次ajax得到16~32个图片地址,插入进ul列表,所有图片会同时去加载,没得到想要的效果。
api应该是传入图片的容器,但是应该判断容器里的每个图片是否进入可视区。
The text was updated successfully, but these errors were encountered: