interface
Used by RendererFactory2
to associate custom rendering data and styles with a rendering implementation.
interface RendererType2 { id: string encapsulation: ViewEncapsulation styles: (string | any[])[] data: {...} }
Property | Description |
---|---|
id: string | A unique identifying string for the new renderer, used when creating unique styles for encapsulation. |
encapsulation: ViewEncapsulation | The view encapsulation type, which determines how styles are applied to DOM elements. One of
|
styles: (string | any[])[] | Defines CSS styles to be stored on a renderer instance. |
data: {
[kind: string]: any;
} | Defines arbitrary developer-defined data to be stored on a renderer instance. This is useful for renderers that delegate to other renderers. |
© 2010–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v12.angular.io/api/core/RendererType2