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

    Type Parameters

    • T extends TabControllerState = TabControllerState

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    __isViewStruct: boolean = true
    __viewClassName: "TabControllerView"
    _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 TabControllerViewStruct<T>

      The current instance of ViewStruct.

    • Parameters

      • hibernateViewsWhenChangingTabs: boolean

      Returns this

    • Parameters

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

      Returns this

    • Parameters

      • onTabHidden: onTabHiddenHandler

      Returns this

    • Parameters

      • onTabSelected: onTabSelectedHandler

      Returns this

    • Parameters

      • selectedTab: string

      Returns this

    • Parameters

      • skipFocusOnTabChange: boolean

      Returns this

    • Parameters

      • tabs: ITabControllerTab[]

      Returns this