Provide a lifecycle hook / signal from the framework when rendering is done and it is safe to read from the DOM

This issue has been tracked since 2022-09-14.

Which @angular/* package(s) are relevant/related to the feature request?

No response

Description

There are numerous situations when one needs to read from the DOM after Angular finished rendering and is done writing to the DOM (ex.: #47366).

Proposed solution

None considered at the moment

Prior art

AndrewKushnir wrote this answer on 2022-09-15

(linking #23784 here as well, this lifecycle hook should help avoid zone.onStable there and make the code synchronous)

More Details About Repo
Owner Name angular
Repo Name angular
Full Name angular/angular
Language TypeScript
Created Date 2014-09-18
Updated Date 2022-10-05
Star Count 84147
Watcher Count 3063
Fork Count 22247
Issue Count 1201

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date