A

Admin • 828.03K Points
Coach

Q. Which lifecycle hook is used to initiate animations in Angular?

  • (A) ngOnInit
  • (B) ngAfterViewInit
  • (C) ngDoCheck
  • (D) ngOnDestroy
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Animations depending on the DOM should be initiated in ngAfterViewInit.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.