Skip to content

zemtsow/lazy-images-html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazy-Images for HTML / HTMX

Installation

Download this repository
Connect index.js from repository to your index.html
Add on some img "lazy" id

Example

<html>
  <head>
    <title>Lazy-images</title>
  </head>
  <body>
    <img id="lazy" src="https://myoctocat.com/assets/images/base-octocat.svg" />
    <script type="module" src="index.js"></script>
  </body>
</html>

About

JavaScript lib for lazy loading images in pure HTML !

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Contributors