AfterViewChecked

Stable Class

What it does

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

How to use

.

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

Class Overview

class AfterViewChecked {
  ngAfterViewChecked() : void
}

Class Description

See Lifecycle Hooks Guide.

Class Details

ngAfterViewChecked() : void

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

doc_Angular
2016-10-06 09:46:09
Comments
Leave a Comment

Please login to continue.