Angular

Class Overview

class ComponentMetadata {
constructor({selector, inputs, outputs, host, exportAs, moduleId, providers, viewProviders,
     changeDetection = ChangeDetectionStrategy.Default, queries, templateUrl, template, styleUrls,
     styles, animations, encapsulation, interpolation,
     entryComponents}?: ComponentMetadataType)

changeDetection : ChangeDetectionStrategy
viewProviders : Provider[]
moduleId : string
templateUrl : string
template : string
styleUrls : string[]
styles : string[]
animations : AnimationEntryMetadata[]
encapsulation : ViewEncapsulation
interpolation : [string, string]
entryComponents : Array<Type<any>|any[]>

}

Class Description

Constructor

constructor({selector, inputs, outputs, host, exportAs, moduleId, providers, viewProviders,
       changeDetection = ChangeDetectionStrategy.Default, queries, templateUrl, template, styleUrls,
       styles, animations, encapsulation, interpolation,
       entryComponents}?: ComponentMetadataType)

Class Details

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