Q. Which lifecycle hook is used to initiate animations in Angular?
β
Correct Answer: (B)
ngAfterViewInit
Explanation: Animations depending on the DOM should be initiated in ngAfterViewInit.