DoCheck

Stable

Interface

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() { // ... } }

Interface Overview

interface DoCheck {
ngDoCheck() : void

}

Interface Description

Interface Details

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