Holds the information of tab opened in a tab view.

See TabView for more information.

Implements

Constructors

Properties

canBeClosed: boolean

See [TabContent.canBeClosed]TabContent#canBeClosed.

initial: boolean = false

See [TabContent.initial]TabContent#initial.

injectedObject: object = {}

See [TabContent.injectedObject]TabContent#injectedObject.

isTabInitialized: boolean = false

Whether the tab was initialized after it's creation.

See [TabGroup.initializeTab()]TabView#initializeTab for more information.

label: TabLabel
order: number = 0

See [TabContent.order]TabContent#order.

parentUniqueId: any = undefined

See [TabContent.parentUniqueId]TabContent#parentUniqueId.

portal: ComponentPortal<any>

Reference to the component portal that is used to display the tab content

tabClosed$: Subject<void>

A stream that is injected into each tab and is used to inform the tab about its termination

tabContentComponent: Type<any>

See [TabContent.tabContentComponent]TabContent#tabContentComponent.

tabSelected$: BehaviorSubject<boolean>

A stream that is injected into each tab and is used to inform that tab whenever it is selected or deselected

uniqueId: string

unique identifier for the tab

Methods