RenderComponentType

已弃用: Use RendererType2 (and Renderer2) instead.

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

构造函数

constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: (string | any[])[], animations: any)
      
      constructor(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: (string | any[])[], animations: any)
    
参数
id string
templateUrl string
slotCount number
encapsulation ViewEncapsulation
styles (string | any[])[]
animations any

属性

属性说明
id: string 声明于构造函数中
templateUrl: string 声明于构造函数中
slotCount: number 声明于构造函数中
encapsulation: ViewEncapsulation 声明于构造函数中
styles: Array<string | any[]> 声明于构造函数中
animations: any 声明于构造函数中