Event listener image loaded

I’m loading an image dynamically and want to display the Lottie only when the image has been fully loaded.

How to add such an event listener?

Many Thanks!
Itamar.