Is there a way to know when a Svelte component has finished loading all its external resources, rather than onMount
?
It is similar to the onload
event of window
.
EDIT: To clear things up, I would like a component to do something after it fully loads all its images.
EDIT2: I decided to use javascript to load images. In my opinion, this is not the cleanest way to do things, but it works.
Thank you!