I am using Angular 2
and I need to detect if an image has loaded in an image tag.
Is there an event for that?
Something like this :
<img [src]="imagesource" [loaded]="dosomething()">
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…