Skip to content

andymerryman/lazyLoadImages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Lazy Load Images

This just watches images and replaces their src with whatever is in data-lazy-src. Often it is used in combination with the imageSelector.

var lazyLoadImages = require('lazyLoadImages/lazyLoadImages');

lazyLoadImages( jQueryOrDOM );

An optional second argument passes options to scrollMonitor#allow-multiple-containers:

var lazyLoadImages = require('lazyLoadImages/lazyLoadImages');

lazyLoadImages( jQueryOrDOM, {
    $container: someScrollableContainer,
    checkVisibility: true
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors