1.0.5 • Published 4 years ago

js-img-lazyloading v1.0.5

Weekly downloads
7
License
ISC
Repository
github
Last release
4 years ago

lazy loading image using javascript

find the example below done by incuding the js and css files in this package

<!DOCTYPE html>
<html>
<head>
	<title></title>
	<link rel="stylesheet" type="text/css" href="node_modules/js-img-lazyloading/style.css">

</head>
<body>
	<div class="placeholder" data-large="https://cdn-images-1.medium.com/max/1800/1*sg-uLNm73whmdOgKlrQdZA.jpeg" >
  <img src="https://cdn-images-1.medium.com/freeze/max/27/1*sg-uLNm73whmdOgKlrQdZA.jpeg?q=20" class="img-small">
  <div style="padding-bottom: 66.6%;"></div>
</div>

<script type="text/javascript" src="node_modules/js-img-lazyloading/script.js"> </script>
	
</body>
</html>
1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago