/webcomponents/lazy-img/README.md
https://github.com/fluster/deckdeckgo · Markdown · 28 lines · 17 code · 11 blank · 0 comment · 0 complexity · d74b5943bb7783f60dc05ffca2b3d949 MD5 · raw file
- [![npm][npm-badge]][npm-badge-url]
- [![license][npm-license]][npm-license-url]
- [npm-badge]: https://img.shields.io/npm/v/@deckdeckgo/lazy-img
- [npm-badge-url]: https://www.npmjs.com/package/@deckdeckgo/lazy-img
- [npm-license]: https://img.shields.io/npm/l/@deckdeckgo/lazy-img
- [npm-license-url]: https://github.com/deckgo/deckdeckgo/blob/main/webcomponents/lazy-img/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](#getting-started)
- - [License](#license)
- ## Getting Started
- To get started with this Web Component, have a look to its [documentation](https://docs.deckdeckgo.com/?path=/story/components-lazy-image--lazy-image).
- ## License
- MIT © [David Dal Busco](mailto:david.dalbusco@outlook.com) and [Nicolas Mattia](mailto:nicolas@nmattia.com)
- [deckdeckgo]: https://deckdeckgo.com