RendererFactory2
Creates and initializes a custom renderer that implements the Renderer2
base class.
abstract class RendererFactory2 {
abstract createRenderer(hostElement: any, type: RendererType2): Renderer2
abstract begin()?: void
abstract end()?: void
abstract whenRenderingDone()?: Promise<any>
}
方法
Creates and initializes a custom renderer for a host DOM element. | ||||||
参数
返回值
|
A callback invoked when rendering has begun. |
参数没有参数。 返回值
|
A callback invoked when rendering has completed. |
参数没有参数。 返回值
|
Use with animations test-only mode. Notifies the test when rendering has completed. |
参数没有参数。 返回值
|