vue-lazyload icon indicating copy to clipboard operation
vue-lazyload copied to clipboard

Cancelling load

Open palfaro91 opened this issue 5 years ago • 1 comments

Hello, is there a way to cancel or stop loading? I have an object that can or cannot have an image source. I'm handling it this way

<div v-lazy:background-image="obj.bg === 'image'  ? obj.bg.src : undefined"></div>

I was trying to handle it in the adapter by checking if src=== undefined and removing attributes but it continues to try to process.

Is there a way for me to say "hey this is undefined stop trying to process it"?

palfaro91 avatar Aug 22 '19 23:08 palfaro91

Did anyone find a solution to this issue?

reinoldus avatar Oct 28 '20 13:10 reinoldus