07 vue-lazy-background-images - Lazy load background images for Vue 2. Subscribe. Lazy Loading Images with event handler in Vue Component In this mechanism we check if the image component is in viewport on every scroll. ImageItem.vue. In that case, lazy loading isn’t needed. It provides a set of values which can be used to configure how the image will display: Vue Lazyload (opens new window) is a Vue.js plugin for lazyloading image or component. Vue 3 - Lazy load Image Component. The lazy loading of images via the loading attribute has landed in Chrome, and other browser-vendors are sure to follow suit. Keep in mind, though, that not every browser (most notably Safari) supports the Intersection Observer API yet, but Lozad.js degrades very gracefully by simply loading all images immediately if the browser does not support the Intersection Observer API. But what if we could also apply this approach to Vue.js components? Lozad.js has a very small footprint of only 1.8 kB and it’s very fast because it uses the Intersection Observer API. Let’s take our simple articles list. of listener names. 08 vue-lazy-images - A plugin of lazyload images for Vue 2.x. But in order to load the image in the background and have it displayed only after it is fully loaded, we need to use a bit of Javascript in the