Excellent question!
you can use Angular’s onload emitter like this -
<img src="..." (load)="someMethod()" />
And inside someMethod() you can call printService.onDataReady(). Or combine it with your existing logic.
Excellent question!
you can use Angular’s onload emitter like this -
<img src="..." (load)="someMethod()" />
And inside someMethod() you can call printService.onDataReady(). Or combine it with your existing logic.