lazyload-new

1.0.0 • Public • Published

Lazyload

a lazyload plugin based on IntersectionObserver interface.

how to use ?

var lazy = new Lazyload({
    src:'data-src',// where is the real source 
    selector:'img[data-src]'
})
 
//sync after append new document
lazy.update();
 

Package Sidebar

Install

npm i lazyload-new

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

83.6 kB

Total Files

8

Last publish

Collaborators

  • lcddjm