Skip to main content

Interface: IEditorTab\<T>

model.IEditorTab

Type parameters

NameType
TBuiltInEditorTabDataType

Hierarchy

  • ITabProps\<T>

    IEditorTab

Table of contents

Properties

Properties

active

Optional active: boolean

Deprecated

Tab doesn't need this property, but the type extends from tab need

Inherited from

ITabProps.active

Defined in

src/components/tabs/tab.tsx:35


Optional breadcrumb: IBreadcrumbItemProps[]

Defined in

src/model/workbench/editor.ts:43


closable

Optional closable: boolean

Mark the tab status to be closable, Default is true

Inherited from

ITabProps.closable

Defined in

src/components/tabs/tab.tsx:40


data

Optional data: T

Inherited from

ITabProps.data

Defined in

src/components/tabs/tab.tsx:52


disposables

Optional disposables: IDisposable[]

The instances that need to be disposed when the tab is closed

Defined in

src/model/workbench/editor.ts:47


editable

Optional editable: boolean

Mark the tab status to be editing

Inherited from

ITabProps.editable

Defined in

src/components/tabs/tab.tsx:44


icon

Optional icon: string | Element

Inherited from

ITabProps.icon

Defined in

src/components/tabs/tab.tsx:46


id

id: UniqueId

Inherited from

ITabProps.id

Defined in

src/components/tabs/tab.tsx:47


name

Optional name: string

Inherited from

ITabProps.name

Defined in

src/components/tabs/tab.tsx:48


renderPane

Optional renderPane: ReactNode | (item: any, tab?: ITabProps\<any, any>, group?: IEditorGroup\<any, any>) => ReactNode

Inherited from

ITabProps.renderPane

Defined in

src/components/tabs/tab.tsx:49


status

Optional status: "edited" | (tab: ITabProps\<any, any>) => Element

Inherited from

ITabProps.status

Defined in

src/components/tabs/tab.tsx:45