Docs (4.0.0)
class ViewComposite method

createView

Creates the encapsulated view object, to be overridden if needed.

protected

protected createView(): TView | undefined | void

Notes

  • This method is called automatically when rendering a view composite, and the result is assigned to ViewComposite.body. It should not be necessary to call this method directly.
  • The base implementation in the ViewComposite class does nothing. Subclasses should implement their own method, or set the body property in their constructor.

Related