render()
Renders the provided view using specified placement options.
render(
view: View,
place?: RenderContext.PlacementOptions,
): RenderContext.ViewController;
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 UIColumn or Widget instance.
Parameters
- view — The view object to be rendered
- place — View placement options, as an object of type RenderContext.PlacementOptions; defaults to page placement
Return value
A new RenderContext.ViewController 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 AppContext
A singleton class that represents the global application state.
