1.1.0 • Published 6 years ago

progressive-image-load v1.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Progressive image load

npm GitHub issues GitHub GitHub

npm i progressive-image-load --save

JS

  • Import js
import ProgressiveImageLoad from 'progressive-image-load';

window.onload = ProgressiveImageLoad();
  • HTML
<script>
    const ProgressiveImageLoad = require('progressive-image-load');
    window.onload = ProgressiveImageLoad();
</script>

CSS

  • Import scss
@import '~/progressive-image-load/scss/progressiveimageload';

HTML

<section class="blur-image-load" data-large="big-image.jpg">
    <img src="small-image.jpg" class="blur-image"/>
    <div style="padding-bottom:66,7%"></div>
</section>
1.1.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago