0👍
I think it’s not working because, the array is to reactive because to has zero elements in the beginning.
You have to populate the imageLoaded
array with false
and then change the item at the required index to true
when image is loaded
something like.
data() {
return {
imageLoaded: [...options.map(op => false)]
};
}
Source:stackexchange.com