Angular - Components
Which of the following is the correct syntax to implement the
OnDestroy lifecycle hook in an Angular component?OnDestroy lifecycle hook in an Angular component?ngOnDestroy().OnDestroy requires defining ngOnDestroy() exactly.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions