Hosanna UI API v1.30.2-next
    Preparing search index...

    The ViewBuilder class is responsible for creating and releasing views. It uses an InstancePool to manage reusable instances of views.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    Methods

    • Creates a view of the specified class and initializes it with the given state.

      Type Parameters

      Parameters

      • viewClass: new () => T

        The class of the view to create.

      • initialState: ViewState

        The initial state to set on the view.

      Returns T

      The created view.