Suggest an editImprove this articleRefine the answer for “What does ngAfterViewChecked() do? When is it called?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)In Angular, `ngAfterViewChecked()` is a lifecycle hook that is called **after every check of the component's view and its child components**. **Key point:** `ngAfterViewChecked` is a hook for tracking and reacting to changes in the component's view and its child elements on every Angular change detection cycle.Shown above the full answer for quick recall.Answer (EN)ImageIn Angular, `ngAfterViewChecked()` is a lifecycle hook that is called **after every check of the component's view and its child components**. ## Key points 1. **What it does**: - Lets you react to changes in the **DOM and child components** after they are rendered. - Used to run logic that depends on the current state of the view after every change check. 2. **When it is called**: - **After** `ngAfterViewInit()` - the first call happens right after the view is initialized. - **Repeatedly**, on every Angular change detection check, for example when data or events change. Example: ```ts export class MyComponent implements AfterViewChecked { ngAfterViewChecked() { console.log('Component view and child components were checked'); } } ``` In other words, `ngAfterViewChecked` **is a hook for tracking and reacting to changes in the component's view and its child elements on every Angular change detection cycle**.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.