RenderComponentType

弃用说明

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(id: string, templateUrl: string, slotCount: number, encapsulation: ViewEncapsulation, styles: Array<string | any[]>, animations: any)

参数

id

Type: string.

templateUrl

Type: string.

slotCount

Type: number.

encapsulation

Type: ViewEncapsulation.

styles

Type: Array.

animations

Type: any.

属性

属性名类型说明
id声明于构造函数中
templateUrl声明于构造函数中
slotCount声明于构造函数中
encapsulation声明于构造函数中
styles声明于构造函数中
animations声明于构造函数中