What is the life cycle event to check whether the dom is fully loaded?



What is the life cycle event to check whether the dom is fully loaded?..

Answer / Sadhan Kumari

The Angular 2 life cycle event to check whether the DOM is fully loaded is the ngAfterViewInit(). This event is emitted after the view has been initialized and all of its child views have also been initialized. At this point, you can assume that the DOM is fully loaded.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More AngularJS Interview Questions

What are guards in angular 2?

1 Answers  


What is angular @ routeparams?

1 Answers  


Explain the differences between one-way binding and two-way binding.

1 Answers  


How to validate form in angular 4?

1 Answers  


What is $interval service in AngularJS?

1 Answers  


What are the advantages of using angular.js framework?

1 Answers  


Does AngularJS has dependency on jQuery?

1 Answers   SLK Software,


how to include an external css in angular 4?

1 Answers  


How does aot compiler work?

1 Answers  


What is httpclient in angular?

1 Answers  


What is the use of ng dblclick?

1 Answers  


What are differences between template and templateurl?

1 Answers  


Categories