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 created 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-09-30
Star Count 84080
Watcher Count 3064
Fork Count 22235
Issue Count 1197

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
[ISSUE]Impossible to upgrade to 0.11 3 2022-06-21 2022-09-23
Add encoding parameter to 'parse_from_file' 0 2022-07-01 2022-09-03
Support for getting back all messages in a thread? 5 2020-05-31 2022-09-12
Showtimeseawork+UTCBANK 1 2022-03-19 2022-04-04
Can you spare time to support Carthage? 0 2022-03-08 2022-05-14
[APP SUBMITTED]: OSError: [Errno 36] Filename too long: '/downloads/Бесконечная.Одиссея.Капитана.Харлока.-.Space.Pirate.Captain.Harlock.-.The.Endless.Odyssey.-.Space.Pirate.Captain.Herlock.-.The.Endless.Odyssey.[OVA].[13.из.13].[Без.хардсаба].[RUS(ext),.JAP+SUB].[2002,.прик.magnet' 1 2022-03-04 2022-03-23
Support injections.scm 0 2022-07-12 2022-09-12
Access token validation fails for GRPC-Web service: missing_token 9 2022-02-13 2022-09-04
Ensure successful storage of cryto materials in vault by Corda OS helm charts 1 2021-11-22 2022-09-19
XHLaunchAd导致wkwebview加载的H5滑动卡顿 0 2021-06-19 2022-09-21
404 on initial install. 4 2022-03-03 2022-03-04
error please fix it 1 2020-07-19 2022-01-12
Support for user interaction 1 2021-05-06 2022-09-19
Mocking router in index page 4 2021-09-06 2022-07-20
Integer overflow in rayon-core 1.8 causes process abort on 32 bit CPUs 6 2020-09-11 2022-08-26
Function call parsed as a Type conversion 1 2021-10-05 2022-09-05
+ 0023 [iOS]运行报错 Your Xcode project requires migration. 1 2020-09-11 2022-09-22
Shapeless 2.3.5+ can't provide implicit for Generic.Aux 5 2022-01-21 2022-08-26
Try changing BP_GENERATORS initialization to use consts instead of hardcoded numbers. 0 2022-05-25 2022-09-29
Is it possible to have controls outside of the `.glide` container? 1 2019-07-31 2022-09-11
Cannot be used when using special characters in the password 5 2021-10-18 2022-08-20
Add new maintainers 1 2018-10-05 2022-01-01
Catch internal floating rejections 0 2021-06-02 2022-09-23
[BUG]: Tracking memcard filters (Folder Memcards) 1 2021-10-03 2022-09-09
Not working 11 2021-05-15 2022-01-04
Slicing failed - unexpected error 1 2021-10-26 2022-09-05
[RFC] Implementation plan for MatrixField refactor 0 2022-09-02 2022-09-15
About Compliance Policy [Require encryption of data storage on device] of Hololens 3 2022-04-15 2022-09-26
Fix Sarawak and Terengganu on Visitors Interactive Map Widget 1 2022-03-27 2022-08-31
qemu 7.1.0-rc1 from Aug 5th has missing DLLs 3 2022-08-11 2022-09-04
[Bug Report] POInfo cached sql sintax error 0 2022-08-16 2022-09-13
SVM Details dashboard - vscan metrics 2 2022-02-14 2022-09-17
tidb-operator should validate pd/tikv config 3 2022-05-23 2022-09-24
Latency by Percentile Distribution graph log-scale Y axis 0 2021-10-19 2022-09-16
Audit instances of StackView{} 4 2021-12-07 2022-08-02
WebDAV: Share extension and app upload .prop file but no .zip 5 2021-11-04 2022-02-08
Simplfy the issue templates. 0 2021-08-30 2022-07-19
Unable to access REPL on odroid go 0 2022-09-22 2022-09-22
reportPortal 5.3.5 version: "Could not get unknown property ‘bintrayUpload’ for root project ‘commons’ of type org.gradle.api.Project." 3 2022-02-16 2022-09-09
Postgres 13.4 Compatibility 3 2022-05-18 2022-09-17
Update cloud build for manifestlist + cosign 0 2021-08-18 2021-12-28
自动hook新加载的动态库可能没被hook的问题 4 2022-02-17 2022-09-15
file_chooser window 10 2004 error 3 2020-10-12 2022-09-22
CSV logger does not support multiple data loaders (AssertionError: can only test a child process) 4 2022-04-26 2022-09-17
event_timestamp_column showing as deprecated in documentation 2 2022-06-17 2022-08-17
Test environments do not tear down properly 1 2022-06-15 2022-08-17
Jira session could not be established 1 2021-05-07 2022-09-25
Additional open graph image work 0 2022-02-03 2022-08-07
line-clamp doesn't work properly on safari 1 2022-08-12 2022-09-16
Doom Highlights Next Line When Brackets Auto-Expand 1 2022-03-10 2022-09-26