@univerjssheets-uiindexclassesCelleditormanagerservice

@univerjs/sheets-ui v0.5.4


Class: CellEditorManagerService

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:45

Implements

Constructors

new CellEditorManagerService()

new CellEditorManagerService(): CellEditorManagerService

Returns

CellEditorManagerService

Properties

PropertyModifierTypeDefined in
focus$readonlyObservable<boolean>submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:60
rect$readonlyObservable<Nullable<ICellEditorBoundingClientRect>>submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:56
state$readonlyObservable<Nullable<ICellEditorManagerParam>>submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:52

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:62

Returns

void

Implementation of

IDisposable.dispose


getRect()

getRect(): Readonly<Nullable<ICellEditorBoundingClientRect>>

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:75

Returns

Readonly<Nullable<ICellEditorBoundingClientRect>>

Implementation of

ICellEditorManagerService.getRect


getState()

getState(): Readonly<Nullable<ICellEditorManagerParam>>

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:84

Returns

Readonly<Nullable<ICellEditorManagerParam>>

Implementation of

ICellEditorManagerService.getState


setFocus()

setFocus(param): void

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:88

Parameters

ParameterTypeDefault value
parambooleanfalse

Returns

void

Implementation of

ICellEditorManagerService.setFocus


setRect()

setRect(param): void

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:79

Parameters

ParameterType
paramICellEditorBoundingClientRect

Returns

void

Implementation of

ICellEditorManagerService.setRect


setState()

setState(param): void

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:69

Parameters

ParameterType
paramICellEditorManagerParam

Returns

void

Implementation of

ICellEditorManagerService.setState