-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Description
Describe the problem that you experienced
Docs should define the term "content fully initialized".
to understand what "content fully initialized" term mean, I did some observation in my personal projects.
My understanding is, When we say component is initialized (not view initialized) , it means, for all content children
- constructor is invoked. if coded
- ngOnChanges is invoked. if coded
- ngOnInit is invoked. if coded
- ngDoCheck is invoked. if coded.
That all reduces to : Component is initialized mean angular has called all the hooks required before first change detection cycle and change detection is not yet triggered.
Is my understanding correct?
I am finding for what is the exact contract of ngAfterContentInit life cycle hook?
Enter the URL of the topic with the problem
https://angular.io/api/core/AfterContentInit
Describe what you were looking for in the documentation
concise crisp definition of what a component and content initialization means. so, that developer has concise crisp expectation from the ngAfterContentInit hook.
Describe the actions that led you to experience the problem
I was reading a doc of lifecycle hook. and I found out that initialization term can be defined well.
Describe what you want to experience that would fix the problem
concise crisp definition of what a component and content initialization means. so, that developer has concise crisp expectation from the ngAfterContentInit hook.
Add a screenshot if that helps illustrate the problem
NA
If this problem caused an exception or error, please paste it here
NA
If the problem is browser-specific, please specify the device, OS, browser, and version
NA
Provide any additional information here in as much as detail as you can
NA