Hosanna UI API v2.3.0-next
    Preparing search index...

    Type Parameters

    • T extends NavControllerState = NavControllerState

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __isViewStruct: boolean = true
    __viewClassName: "NavControllerView"
    _cacheKey: string = 'viewStruct'
    _children: ViewStruct<ViewState>[] = []
    _hid: string
    eventHandlers: Record<string, Function> = {}
    parentId?: string
    state: BaseAggregateViewState = ...

    The initial state of the view.

    Methods

    • Sets the children of the view. NOTE - Children is not the same as subViews SubViews are the views OWNED by and created to render our view. Children are the views that are part of the view tree, when this view is conceptually a group view, like HGroup or VGroup, or Group.

      Parameters

      • children: ViewStruct<ViewState>[]

        The children to set.

      Returns NavControllerViewStruct<T>

      The current instance of ViewStruct.

    • Parameters

      • initialView: undefined | IHosannaView<ViewState> | ViewStruct<ViewState>

      Returns this

    • Parameters

      • onLastViewRemoved: onLastViewRemovedHandler

      Returns this