Healthy Anywhere – Discover healthy, sustainable, delicious food near you

Posted by:

Category:

Comments:

Post Date:


Healthy Anywhere – Discover healthy, sustainable, delicious food near you

Healthy Anywhere - Discover healthy, sustainable, delicious food near you Sorry, this product is unavailable. Please choose a different combination. ]]>

{ const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` ); const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => { entries.forEach( ( entry ) => { if ( entry.isIntersecting ) { let lazyloadBackground = entry.target; if( lazyloadBackground ) { lazyloadBackground.classList.add( 'e-lazyloaded' ); } lazyloadBackgroundObserver.unobserve( entry.target ); } }); }, { rootMargin: '200px 0px 200px 0px' } ); lazyloadBackgrounds.forEach( ( lazyloadBackground ) => { lazyloadBackgroundObserver.observe( lazyloadBackground ); } ); }; const events = [ 'DOMContentLoaded', 'elementor/lazyload/observe', ]; events.forEach( ( event ) => { document.addEventListener( event, lazyloadRunObserver ); } ); ]]>
Source

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *


Related

Posts