vue-lazyload
vue-lazyload copied to clipboard
Cancelling load
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"?
Did anyone find a solution to this issue?