lazysizes
lazysizes copied to clipboard
src/lazysizes-intersection.js
What is this file ? src/lazysizes-intersection.js Probably obsolete and can be removed.
Don't believe so. It makes use of observer approaches to lazyload vs scroll timers. I am using it myself.
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.
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,