Interface TabGroup

Represents a group of tabs. A tab group itself consists of multiple tabs.

interface TabGroup {
    activeTab: undefined | Tab;
    isActive: boolean;
    tabs: readonly Tab[];
    viewColumn: ViewColumn;
}

Properties

activeTab: undefined | Tab

The active tab in the group. This is the tab whose contents are currently being rendered.

Note that there can be one active tab per group but there can only be one active group.

isActive: boolean

Whether or not the group is currently active.

Note that only one tab group is active at a time, but that multiple tab groups can have an active tab.

tabs: readonly Tab[]

The list of tabs contained within the group. This can be empty if the group has no tabs open.

viewColumn: ViewColumn

The view column of the group.