Interface: IEditorGroup<E, T>
Type parameters
Name | Type |
---|---|
E | any |
T | any |
Hierarchy
ITabsProps
<T
>↳
IEditorGroup
Implemented by
Properties
actions
• Optional
actions: IEditorActionsProps
[]
Defined in
src/model/workbench/editor.ts:53
activeTab
• Optional
activeTab: UniqueId
Inherited from
Defined in
src/components/tabs/index.tsx:33
className
• Optional
className: string
Inherited from
Defined in
src/components/tabs/index.tsx:21
closable
• Optional
closable: boolean
deprecated
For now, we don't need to control the global closable
Inherited from
Defined in
src/components/tabs/index.tsx:27
data
• Optional
data: ITabProps
<any
, any
>[]
Inherited from
Defined in
src/components/tabs/index.tsx:32
editable
• Optional
editable: boolean
deprecated
For now, we don't need to control the global editable
Inherited from
Defined in
src/components/tabs/index.tsx:31
editorInstance
• Optional
editorInstance: E
Defined in
src/model/workbench/editor.ts:55
id
• id: UniqueId
Defined in
src/model/workbench/editor.ts:48
menu
• Optional
menu: IMenuItemProps
[]
Defined in
src/model/workbench/editor.ts:54
role
• Optional
role: string
Inherited from
Defined in
src/components/tabs/index.tsx:23
style
• Optional
style: CSSProperties
Inherited from
Defined in
src/components/tabs/index.tsx:22
tab
• Optional
tab: IEditorTab
<T
>
Current editor group tab
Defined in
src/model/workbench/editor.ts:52
type
• Optional
type: TabsType
Default is line
Inherited from
Defined in
src/components/tabs/index.tsx:37
Methods
onCloseTab
▸ Optional
onCloseTab(key
): void
Parameters
Name | Type |
---|---|
key | UniqueId |
Returns
void
Inherited from
Defined in
src/components/tabs/index.tsx:38
onContextMenu
▸ Optional
onContextMenu(e
, tab
): void
Parameters
Name | Type |
---|---|
e | MouseEvent <Element , MouseEvent > |
tab | ITabProps <any , any > |
Returns
void
Inherited from
Defined in
src/components/tabs/index.tsx:39
onMoveTab
▸ Optional
onMoveTab(tabs
): void
Parameters
Name | Type |
---|---|
tabs | ITabProps <any , any >[] |
Returns
void
Inherited from
Defined in
src/components/tabs/index.tsx:40
onSelectTab
▸ Optional
onSelectTab(key
): void
Parameters
Name | Type |
---|---|
key | UniqueId |
Returns
void