HaithemMosbahi / ngx-avatar

Universal avatar component for angular 2+ applications makes it possible to fetch / generate avatar from different sources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to get a on load event from image src?

DanielMaceira opened this issue · comments

Hi!

I need to intercept the image loaded from src attribute.
Is there a way to use onload event?

I want to know if the image was successfull loaded or get exif data from images, for example.

Thank you!

It seems you can use the AvatarService to check if a source was successfully loaded.

Apart from that, there seems to be no way implemented of intercepting the event.