vue-lazyload
vue-lazyload copied to clipboard
How to use v-lazy:background-image on HTML (NOT VUEJS)
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