RendererFactory2
Creates and initializes a custom renderer that implements the Renderer2
base class.
abstract class RendererFactory2 {
abstract createRenderer(hostElement: any, type: RendererType2 | null): Renderer2
abstract begin()?: void
abstract end()?: void
abstract whenRenderingDone()?: Promise<any>
}
Methods
Creates and initializes a custom renderer for a host DOM element. |
||||
Parameters
Returns
|
A callback invoked when rendering has begun. |
ParametersThere are no parameters. Returns
|
A callback invoked when rendering has completed. |
ParametersThere are no parameters. Returns
|
Use with animations test-only mode. Notifies the test when rendering has completed. |
ParametersThere are no parameters. Returns
|