AfterContentInit

interface

npm Package @angular/core
Module import { AfterContentInit } from '@angular/core';
Source core/src/metadata/lifecycle_hooks.ts

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

Interface Overview

interface AfterContentInit { 
  ngAfterContentInit(): void
}

How To Use

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

Description

See "Lifecycle Hooks Guide".

Members

ngAfterContentInit(): void

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v4.angular.io/api/core/AfterContentInit