AfterViewChecked

interface

npm Package @angular/core
Module import { AfterViewChecked } from '@angular/core';
Source core/src/metadata/lifecycle_hooks.ts

Lifecycle hook that is called after every check of a component's view.

Interface Overview

interface AfterViewChecked { 
  ngAfterViewChecked(): void
}

How To Use

@Component({selector: 'my-cmp', template: `...`})
class MyComponent implements AfterViewChecked {
  ngAfterViewChecked() {
    // ...
  }
}

Description

See "Lifecycle Hooks Guide".

Members

ngAfterViewChecked(): void

© 2010–2018 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v5.angular.io/api/core/AfterViewChecked