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();
 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i lazyload-new

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

83.6 kB

Total Files

8

Last publish

Collaborators

  • lcddjm