react-mobile-lazyload

1.2.0 • Public • Published

react-mobile-lazyload

A React components named Lazyload, used in the mobile webpage.

Usage

<LazyLoad partial placeholder={(<img src="" />)}>
    <img src=".." />
</LazyLoad>

Preview

点击查看demo

Options

placeholder

Type: React.node

Default value: <div>

Note: placehoder element.

partial

Type: React.bool

Default value: false

License

Copyright (c) 2016 Cao Ren under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i react-mobile-lazyload

Weekly Downloads

2

Version

1.2.0

License

MIT

Last publish

Collaborators

  • caor1987