AfterContentInit

Stable

Class

What it does

Lifecycle hook that is called after a directive's content has been fully initialized.

How to use

.

  1. @Component({selector: 'my-cmp', template: `...`})
  2. class MyComponent implements AfterContentInit {
  3. ngAfterContentInit() {
  4. // ...
  5. }
  6. }

Class Overview

class AfterContentInit {

}

Class Description

Class Details

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