Interface: IEditorService
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:48
Properties
Property | Type | Defined in |
---|---|---|
blur$ | Observable <unknown > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:59 |
focus$ | Observable <ISuccinctDocRangeParam > | submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:62 |
Methods
blur()
blur(): void
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:60
Returns
void
focus()
focus(editorUnitId): void
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:63
Parameters
Parameter | Type |
---|---|
editorUnitId | string |
Returns
void
getAllEditor()
getAllEditor(): Map<string, Editor>
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:53
Returns
Map
<string
, Editor
>
getEditor()
getEditor(id?): Readonly<Nullable<Editor>>
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:49
Parameters
Parameter | Type |
---|---|
id ? | string |
Returns
getFocusEditor()
getFocusEditor(): Readonly<Nullable<Editor>>
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:66
Returns
getFocusId()
getFocusId(): Nullable<string>
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:65
Returns
Nullable
<string
>
isEditor()
isEditor(editorUnitId): boolean
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:55
Parameters
Parameter | Type |
---|---|
editorUnitId | string |
Returns
boolean
isSheetEditor()
isSheetEditor(editorUnitId): boolean
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:57
Parameters
Parameter | Type |
---|---|
editorUnitId | string |
Returns
boolean
register()
register(config, container): IDisposable
Defined in: submodules/univer/packages/docs-ui/src/services/editor/editor-manager.service.ts:51
Parameters
Parameter | Type |
---|---|
config | IEditorConfigParams |
container | HTMLDivElement |