Newlyweds Proposing Marriage

    react-lazyload-image

    1.0.1 • Public • Published

    INSTALL

    npm install react-lazyload-image --save
    

    USEAGE

    import LazyImg from 'react-lazyload-image'
    
    <LazyImg src='imgurl' alt='lazyimg' />
    

    PARAMS

    @param src {!url}
    @param alt {!string}
    @param transElement {?selector} 需要绑定transitionend触发图片加载的dom selector,为空则不监听该事件
    @param scroller {?selector} 需要绑定scroll触发图片加载的dom selector,默认为document

    Install

    npm i react-lazyload-image

    DownloadsWeekly Downloads

    399

    Version

    1.0.1

    License

    ISC

    Last publish

    Collaborators

    • stoneqq11