Skip to main content

Interface: IPanelItem\<T>

model.IPanelItem

Type parameters

NameType
Tany

Hierarchy

  • ITabProps\<T>

    IPanelItem

    ↳↳ IOutput

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


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

Overrides

ITabProps.data

Defined in

src/model/workbench/panel.tsx:11


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


sortIndex

Optional sortIndex: number

The sort of panel item

Defined in

src/model/workbench/panel.tsx:15


status

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

Inherited from

ITabProps.status

Defined in

src/components/tabs/tab.tsx:45


title

Optional title: string

The same as HTMLElement title attribute

Defined in

src/model/workbench/panel.tsx:9


toolbox

Optional toolbox: IActionBarItemProps\<any>[]

Defined in

src/model/workbench/panel.tsx:10