lazysizes icon indicating copy to clipboard operation
lazysizes copied to clipboard

src/lazysizes-intersection.js

Open alpha-and-omega opened this issue 5 years ago • 3 comments

What is this file ? src/lazysizes-intersection.js Probably obsolete and can be removed.

alpha-and-omega avatar Feb 13 '19 21:02 alpha-and-omega

Don't believe so. It makes use of observer approaches to lazyload vs scroll timers. I am using it myself.

pcfreak30 avatar May 11 '19 20:05 pcfreak30

Was linked to this file by Googles dev docs: https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/loading-third-party-javascript/

Would be good to have documentation on how to use that file.

GeorgeTaveras1231 avatar Apr 07 '21 18:04 GeorgeTaveras1231

Hi,

I believe this is the intersection observer version of the plugin as explained here: https://github.com/aFarkas/lazysizes/issues/263

Here is where the author explains how to conditionally load it for supporting browsers: https://github.com/aFarkas/lazysizes/issues/541

Best,

Hibrix-net avatar May 13 '21 06:05 Hibrix-net