Class: EditorModel
model.EditorModel
Implements
Table of contents
Constructors
Properties
Constructors
constructor
• new EditorModel(current?
, groups?
, entry
, editorOptions?
): EditorModel
Parameters
Name | Type | Default value |
---|---|---|
current | null | IEditorGroup \<any , any > | null |
groups | IEditorGroup \<any , any >[] | [] |
entry | ReactNode | undefined |
editorOptions | IEditorOptions | {} |
Returns
Defined in
src/model/workbench/editor.ts:125
Properties
current
• current: null
| IEditorGroup
\<any
, any
>
Current editor group
Implementation of
Defined in
src/model/workbench/editor.ts:117
editorOptions
• editorOptions: IEditorOptions
Built-in editor options, there is main apply it to monaco-editor
Implementation of
Defined in
src/model/workbench/editor.ts:123
entry
• entry: ReactNode
The welcome page of editor bench
Implementation of
Defined in
src/model/workbench/editor.ts:121
groups
• groups: IEditorGroup
\<any
, any
>[]
Editor Groups