W3cubDocs

/Angular

RenderComponentType

class deprecated

Deprecation Notes

Use RendererType2 (and Renderer2) instead.

class RenderComponentType {
  constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: Array<string | any[]>, animations: any)
  id: string
  templateUrl: string
  slotCount: number
  encapsulation: ViewEncapsulation
  styles: Array<string | any[]>
  animations: any
}

Constructor

constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: Array<string | any[]>, animations: any)

Parameters

id

Type: string.

templateUrl

Type: string.

slotCount

Type: number.

encapsulation

Type: ViewEncapsulation.

styles

Type: Array.

animations

Type: any.

Properties

Property Type Description
id string Declared in constructor.
templateUrl string Declared in constructor.
slotCount number Declared in constructor.
encapsulation ViewEncapsulation Declared in constructor.
styles Array<string | any[]> Declared in constructor.
animations any Declared in constructor.

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