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
看了下你的源代码,感觉在图片大小尺寸处理上这种做法不太优雅:通过加一个父节点通过父节点去控制图片的显示大小,这种做法有两个缺点
可视化区域加载
The text was updated successfully, but these errors were encountered:
Maybe use Element.scrollIntoView() instead of watching 'mousewheel'? http://caniuse.com/#feat=scrollintoview
Element.scrollIntoView()
Sorry, something went wrong.
No branches or pull requests
看了下你的源代码,感觉在图片大小尺寸处理上这种做法不太优雅:通过加一个父节点通过父节点去控制图片的显示大小,这种做法有两个缺点
其他的,看了下知乎的做法,
其他的
是否有点冗余,而且不够优雅。之前fork过一个
可视化区域加载
图片懒加载代码 https://github.com/rowthan/lazy-load-img 感觉他那种做法还挺不错的。The text was updated successfully, but these errors were encountered: