Interface: IEditorGroup<E, T>
Type parameters
Name | Type |
---|---|
E | any |
T | any |
Hierarchy
↳
IEditorGroup
Implemented by
Properties
actions
• Optional
actions: IEditorActionsProps
[]
Defined in
activeTab
• Optional
activeTab: UniqueId
Inherited from
Defined in
className
• Optional
className: string
Inherited from
Defined in
closable
• Optional
closable: boolean
deprecated
For now, we don't need to control the global closable
Inherited from
Defined in
data
• Optional
data: ITabProps
<any
, any
>[]
Inherited from
Defined in
editable
• Optional
editable: boolean
deprecated
For now, we don't need to control the global editable
Inherited from
Defined in
editorInstance
• Optional
editorInstance: E
Defined in
id
• id: UniqueId
Defined in
menu
• Optional
menu: IMenuItemProps
[]
Defined in
role
• Optional
role: string
Inherited from
Defined in
style
• Optional
style: CSSProperties
Inherited from
Defined in
tab
• Optional
tab: IEditorTab
<T
>
Current editor group tab
Defined in
type
• Optional
type: TabsType
Default is line
Inherited from
Defined in
Methods
onCloseTab
▸ Optional
onCloseTab(key
): void
Parameters
Name | Type |
---|---|
key | UniqueId |
Returns
void
Inherited from
Defined in
onContextMenu
▸ Optional
onContextMenu(e
, tab
): void
Parameters
Name | Type |
---|---|
e | MouseEvent <Element , MouseEvent > |
tab | ITabProps <any , any > |
Returns
void
Inherited from
Defined in
onMoveTab
▸ Optional
onMoveTab(tabs
): void
Parameters
Name | Type |
---|---|
tabs | ITabProps <any , any >[] |
Returns
void
Inherited from
Defined in
onSelectTab
▸ Optional
onSelectTab(key
): void
Parameters
Name | Type |
---|---|
key | UniqueId |
Returns
void