Closed fernao closed 2 years ago
@fernao Just when the component is loaded or the image in the component has loaded?
Will work on it
When images are loaded (considering "regular" and "zoom" sources). I don't know if from both, but the first is good because it can help user to handle the moment that images are loading.
Another option is like vuetify on it's v-img It has a "lazy-src", a image that could be at low resolution that is placed while the regular is not loaded.
It used to have a placeholder image but this required javascript lazyloading when it now uses native loading attribute.
I will add lots of events for the parent to be able to look at :) including what you're wanting
It would be wonderful if this component had an "loaded" event, in order to communicate with other components and trigger actions.