Lazy Load delay

2019-08-16 04:46发布

问题:

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.