1.0.39 • Published 4 years ago
react-ui-lazyload-responsive-image v1.0.39
Lazyload Image
Demo
npm install react-ui-lazyload-responsive-imageimport LazyResponsiveImage from 'react-ui-lazyload-responsive-image';<LazyResponsiveImage {...{
dataSets: {
0: { src: "https://fakeimg.pl/250x600/", width: 250, height: 600 },
1024: { src: 'https://fakeimg.pl/1024x500/', width: 1024, height: 500 }
},
alt: '123'
}}/>Whats the image width and height doing? Create empty box when image is not visiable
| name | description | type | oneof | default |
|---|---|---|---|---|
| dataSets | a set of screen width store image information | object | ||
| width or height | used to create the padding box behind the image | Integer | ||
| alt | the description of image | string |
1.0.39
4 years ago
1.0.38
4 years ago
1.0.22
4 years ago
1.0.21
4 years ago
1.0.20
4 years ago
1.0.26
4 years ago
1.0.25
4 years ago
1.0.24
4 years ago
1.0.23
4 years ago
1.0.29
4 years ago
1.0.28
4 years ago
1.0.27
4 years ago
1.0.33
4 years ago
1.0.32
4 years ago
1.0.31
4 years ago
1.0.30
4 years ago
1.0.37
4 years ago
1.0.36
4 years ago
1.0.34
4 years ago
1.0.18
4 years ago
1.0.17
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.14
4 years ago
1.0.13
4 years ago
1.0.12
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.2
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago