ContentChildMetadata

export class ContentChildMetadata

exported from angular2/core defined in angular2/src/core/metadata/di.ts (line 210)

Configures a content query.

Content queries are set before the ngAfterContentInit callback is called.

Example

@Directive({ selector: 'someDir' }) class SomeDir { @ContentChild(ChildDirective) contentChild; ngAfterContentInit() { // contentChild is set } }

Constructor

constructor(_selector: Type | string)

Not Yet Documented