Skip to main content
Version: 0.9.0-beta.2

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​

src/components/tabs/tab.tsx:38


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:43


data​

• Optional data: T

Overrides​

ITabProps.data

Defined in​

src/model/workbench/panel.tsx:10


editable​

• Optional editable: boolean

Mark the tab status to be editing

Inherited from​

ITabProps.editable

Defined in​

src/components/tabs/tab.tsx:47


icon​

• Optional icon: string | Element

Inherited from​

ITabProps.icon

Defined in​

src/components/tabs/tab.tsx:49


id​

• id: UniqueId

Inherited from​

ITabProps.id

Defined in​

src/components/tabs/tab.tsx:50


name​

• Optional name: string

Inherited from​

ITabProps.name

Defined in​

src/components/tabs/tab.tsx:51


renderPane​

• Optional renderPane: ReactNode | (item: any) => ReactNode

Inherited from​

ITabProps.renderPane

Defined in​

src/components/tabs/tab.tsx:52


sortIndex​

• Optional sortIndex: number

The sort of panel item

Defined in​

src/model/workbench/panel.tsx:14


status​

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

Inherited from​

ITabProps.status

Defined in​

src/components/tabs/tab.tsx:48


title​

• Optional title: string

The same as HTMLElement title attribute

Defined in​

src/model/workbench/panel.tsx:8


toolbox​

• Optional toolbox: IActionBarItemProps<any>[]

Defined in​

src/model/workbench/panel.tsx:9