Docs (4.0.0)
class GlobalContext method

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

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