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

Dependencies (0)

    Dev Dependencies (6)

    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