ComponentDecorator

export interface ComponentDecorator

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

Interface for the ComponentMetadata decorator function.

See ComponentFactory.

Members

View(obj: {
  templateUrl?: string,
  template?: string,
  directives?: Array<Type | any[]>,
  pipes?: Array<Type | any[]>,
  renderer?: string,
  styles?: string[],
  styleUrls?: string[],
}) : ViewDecorator

Chain ViewMetadata annotation.