render
Renders the provided view using specified placement options.
render(view: View, place: string | RenderContext.PlacementOptions): RenderContext.DynamicRendererWrapper
Summary
This method can be used to render any view object to the screen (or in-memory test output, when called from a test function), such as a UICell or ViewComposite instance.
Parameters
- view — The view object to be rendered
- place — Mount element ID, or global view placement options, refer to RenderContext.PlacementOptions
Return value
A new RenderContext.DynamicRendererWrapper instance, which can be used to control the rendered view
Errors
- This method throws an error if the renderer hasn’t been initialized yet.
Related
- class GlobalContextA singleton class that represents the global application state.