AfterContentInit

AfterContentInit

Stable Class

What it does

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

How to use

.

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

Class Overview

class AfterContentInit {
  ngAfterContentInit() : void
}