An open API service indexing awesome lists of open source software.

https://github.com/arnellebalane/lazy-loading-example

Lazy-loading images using the IntersectionObserver API
https://github.com/arnellebalane/lazy-loading-example

demo-app intersectionobserver-api web-apis

Last synced: about 1 month ago
JSON representation

Lazy-loading images using the IntersectionObserver API

Awesome Lists containing this project

README

          

# Lazy Loading Example

Lazy loading using the [**Intersection Observer API**][1]. App built with
[VueJS][2] and bundled using [Parcel][3].

[Read article explaining the Intersection Observer API][4].

## Running this project

```bash
$ git clone https://github.com/arnellebalane/lazy-loading-example
$ cd lazy-loading-example
$ npm install
$ npm start # starts a local dev server
$ npm run build # builds for production
```

[1]: https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
[2]: https://vuejs.org/
[3]: https://parceljs.org/
[4]: https://blog.arnellebalane.com/the-intersection-observer-api-d441be0b088d