RendererFactory2
Class
Creates and initializes a custom renderer that implements the Renderer2
base class.
API
abstract class RendererFactory2 {}
createRenderer
Creates and initializes a custom renderer for a host DOM element.
@paramhostElement
any
The element to render.
@returns
Renderer2
begin
void
A callback invoked when rendering has begun.
@returns
void
end
void
A callback invoked when rendering has completed.
@returns
void
whenRenderingDone
Promise<any>
Use with animations test-only mode. Notifies the test when rendering has completed.
@returns
Promise<any>
Jump to details