跳到主要内容
版本:1.x

Interface: IEditorTab<T>

molecule.model.IEditorTab

Type parameters

NameType
TBuiltInEditorTabDataType

Hierarchy

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

components/tabs/tab.tsx:39


Optional breadcrumb: IBreadcrumbItemProps[]

Defined in

model/workbench/editor.ts:42


closable

Optional closable: boolean

Mark the tab status to be closable, Default is true

Inherited from

ITabProps.closable

Defined in

components/tabs/tab.tsx:44


data

Optional data: T

Inherited from

ITabProps.data

Defined in

components/tabs/tab.tsx:56


editable

Optional editable: boolean

Mark the tab status to be editing

Inherited from

ITabProps.editable

Defined in

components/tabs/tab.tsx:48


icon

Optional icon: string | Element

Inherited from

ITabProps.icon

Defined in

components/tabs/tab.tsx:50


id

id: UniqueId

Inherited from

ITabProps.id

Defined in

components/tabs/tab.tsx:51


name

Optional name: string

Inherited from

ITabProps.name

Defined in

components/tabs/tab.tsx:52


renderPane

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

Inherited from

ITabProps.renderPane

Defined in

components/tabs/tab.tsx:53


status

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

Inherited from

ITabProps.status

Defined in

components/tabs/tab.tsx:49