Lazy Load delay

岁酱吖の 提交于 2019-12-13 04:35:56

问题


I'm using Mika Tuupola's Lazy Load, which is excellent, but need to delay loading even when image above the fold...

So, user scrolls, when image in view I want to delay 400ms then show the image.

There is a way to increase threshold so images load before shown, but not other way.

I've searched docs on github and can't find a way to do this without reinventing wheels.

Has anyone done this? I know it might seem strange but there's a valid reason for wanting to do it.


回答1:


From the docs:

I assume you can bind the scroll event instead of load and it would work just the same.



来源:https://stackoverflow.com/questions/21959161/lazy-load-delay

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!