RendererType2link
Used by RendererFactory2
to associate custom rendering data and styles with a rendering implementation.
属性
属性名 | 类型 | 说明 |
---|---|---|
id | A unique identifying string for the new renderer, used when creating unique styles for encapsulation. | |
encapsulation | The view encapsulation type, which determines how styles are applied to DOM elements. One of
| |
styles | Defines CSS styles to be stored on a renderer instance. | |
data | Defines arbitrary developer-defined data to be stored on a renderer instance. This is useful for renderers that delegate to other renderers. |