The lifecycle hook ngAfterViewInit is specifically related to a component's child ________.

  • Directive
  • Element
  • Module
  • Template
The lifecycle hook ngAfterViewInit is specifically related to a component's child template. This hook is called after Angular has fully initialized a component's view and any child views it contains. It allows you to interact with the template and its elements once they are ready for manipulation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *