Skip to main content

Interface: IEditorGroup\<E, T>

model.IEditorGroup

Type parameters

NameType
Eany
Tany

Hierarchy

  • ITabsProps

    IEditorGroup

Implemented by

Table of contents

Properties

Properties

actions

Optional actions: IEditorActionsProps[]

Defined in

src/model/workbench/editor.ts:59


activeTab

Optional activeTab: UniqueId

Inherited from

ITabsProps.activeTab

Defined in

src/components/tabs/index.tsx:35


className

Optional className: string

Inherited from

ITabsProps.className

Defined in

src/components/tabs/index.tsx:23


closable

Optional closable: boolean

Deprecated

For now, we don't need to control the global closable

Inherited from

ITabsProps.closable

Defined in

src/components/tabs/index.tsx:29


data

Optional data: ITabProps\<any, any>[]

Inherited from

ITabsProps.data

Defined in

src/components/tabs/index.tsx:34


editable

Optional editable: boolean

Deprecated

For now, we don't need to control the global editable

Inherited from

ITabsProps.editable

Defined in

src/components/tabs/index.tsx:33


editorInstance

Optional editorInstance: E

Defined in

src/model/workbench/editor.ts:61


id

id: UniqueId

Defined in

src/model/workbench/editor.ts:54


Optional menu: IMenuItemProps[]

Defined in

src/model/workbench/editor.ts:60


onCloseTab

Optional onCloseTab: (key: UniqueId) => void

Type declaration

▸ (key): void

Parameters
NameType
keyUniqueId
Returns

void

Inherited from

ITabsProps.onCloseTab

Defined in

src/components/tabs/index.tsx:40


onContextMenu

Optional onContextMenu: (e: MouseEvent\<Element, MouseEvent>, tab: ITabProps\<any, any>) => void

Type declaration

▸ (e, tab): void

Parameters
NameType
eMouseEvent\<Element, MouseEvent>
tabITabProps\<any, any>
Returns

void

Inherited from

ITabsProps.onContextMenu

Defined in

src/components/tabs/index.tsx:41


onMoveTab

Optional onMoveTab: (tabs: ITabProps\<any, any>[]) => void

Type declaration

▸ (tabs): void

Parameters
NameType
tabsITabProps\<any, any>[]
Returns

void

Inherited from

ITabsProps.onMoveTab

Defined in

src/components/tabs/index.tsx:42


onSelectTab

Optional onSelectTab: (key: UniqueId) => void

Type declaration

▸ (key): void

Parameters
NameType
keyUniqueId
Returns

void

Inherited from

ITabsProps.onSelectTab

Defined in

src/components/tabs/index.tsx:43


role

Optional role: string

Inherited from

ITabsProps.role

Defined in

src/components/tabs/index.tsx:25


style

Optional style: CSSProperties

Inherited from

ITabsProps.style

Defined in

src/components/tabs/index.tsx:24


tab

Optional tab: IEditorTab\<T>

Current editor group tab

Defined in

src/model/workbench/editor.ts:58


type

Optional type: TabsType

Default is line

Inherited from

ITabsProps.type

Defined in

src/components/tabs/index.tsx:39