R
R
Roman Rakzin2022-01-03 17:01:07
Angular
Roman Rakzin, 2022-01-03 17:01:07

How to catch the event in Angular that the component is fully loaded?

A component can contain images, for example,
and I need to somehow hook up to an event when all of its content is completely loaded.
How can I do it?
As I understand it, life cycle hooks will not help here - I often saw such a situation that the component was displayed, and the picture inside it was loaded later.
I would like to render the component when its content is complete.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2022-01-03
@KickeRockK

Tried?
en

V
Vladimir Korotenko, 2022-01-03
@firedragon

https://angular.io/guide/lifecycle-hooks

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question