Class: EditorGroupModel<E, T>
molecule.model.EditorGroupModel
Type parameters
| Name | Type |
|---|---|
E | any |
T | any |
Implements
IEditorGroup<E,T>
Constructors
constructor
• new EditorGroupModel<E, T>(id, tab, activeTab, data, actions?, menu?, editorInstance?)
Type parameters
| Name | Type |
|---|---|
E | any |
T | any |
Parameters
| Name | Type | Default value |
|---|---|---|
id | UniqueId | undefined |
tab | IEditorTab<T> | undefined |
activeTab | undefined | UniqueId | undefined |
data | IEditorTab<T>[] | undefined |
actions | IEditorActionsProps[] | [] |
menu | IMenuItemProps[] | [] |
editorInstance? | E | undefined |
Defined in
Properties
actions
• actions: IEditorActionsProps[]
Implementation of
Defined in
activeTab
• activeTab: undefined | UniqueId
Implementation of
Defined in
data
• data: IEditorTab<T>[]
Implementation of
Defined in
editorInstance
• editorInstance: undefined | E
Implementation of
Defined in
id
• id: UniqueId
Implementation of
Defined in
menu
• menu: IMenuItemProps[]
Implementation of
Defined in
tab
• tab: IEditorTab<T>
Current editor group tab