DoCheck

Stable

Class

What it does

Lifecycle hook that is called when Angular dirty checks a directive.

How to use

.

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

Class Overview

class DoCheck {
ngDoCheck() : void

}

Class Description

Class Details

exported from @angular/core/index, defined in @angular/core/src/metadata/lifecycle_hooks.ts