Skip to main content
Version: 1.x

Interface: IPanelItem<T>

molecule.model.IPanelItem

Type parameters

NameType
Tany

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


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

Overrides

ITabProps.data

Defined in

model/workbench/panel.tsx:10


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


sortIndex

Optional sortIndex: number

The sort of panel item

Defined in

model/workbench/panel.tsx:14


status

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

Inherited from

ITabProps.status

Defined in

components/tabs/tab.tsx:49


title

Optional title: string

The same as HTMLElement title attribute

Defined in

model/workbench/panel.tsx:8


toolbox

Optional toolbox: IActionBarItemProps<any>[]

Defined in

model/workbench/panel.tsx:9