Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.28 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.28 KB

npm license

DeckDeckGo - A dead simple Web Component to lazy load images

This Web Component is a dead simple component to lazy load images which was developed for the project DeckDeckGo.

It leverages the IntersectionObserver API to lazy load images and also allows you to trigger "manually" their loading.

Table of contents

Getting Started

To get started with this Web Component, have a look to its documentation.

Develop

To develop and run this Web Component locally, proceed as following:

git clone https://github.com/deckgo/deckdeckgo
cd deckdeckgo/webcomponents/lazy-img
npm install
npm run start

License

MIT © David Dal Busco and Nicolas Mattia