Open felix2056 opened 3 years ago
I want to lazyload images outsite the Vue instance.
This works for regular images
<div v-lazy-container="{ selector: 'img' }"> <img data-src="//domain.com/img1.jpg"> <img data-src="//domain.com/img2.jpg"> <img data-src="//domain.com/img3.jpg"> </div>
But in the case where a div tag has a background image, how do I lazyload it? Again on normal HTML not VUE
I'm interested too
curious
I want to lazyload images outsite the Vue instance.
This works for regular images
But in the case where a div tag has a background image, how do I lazyload it? Again on normal HTML not VUE