Skip to content
New issue

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

如何让它当屏幕显示的时候才加载图片,在屏幕之外的不加载 #19

Closed
ghost opened this issue Jul 1, 2016 · 0 comments
Labels

Comments

@ghost
Copy link

ghost commented Jul 1, 2016

有时候一个网页展示了很多图,屏幕也很长,如果一开网页,就全部开始加载, 就可能影响网页下载其他东西,可能会网页卡顿什么的

所以想问问,有没有让他不加载屏幕之外的图

当网页快滚动到了,才开始加载呢

懒加载

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant