@univerjssheets-uiindexclassesCelleditormanagerservice

@univerjs/sheets-ui v0.5.0-beta.1Docs


Class: CellEditorManagerService

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

Returns

void

Implementation of

IDisposable.dispose

Defined in

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


getRect()

getRect(): Readonly<Nullable<ICellEditorBoundingClientRect>>

Returns

Readonly<Nullable<ICellEditorBoundingClientRect>>

Implementation of

ICellEditorManagerService.getRect

Defined in

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


getState()

getState(): Readonly<Nullable<ICellEditorManagerParam>>

Returns

Readonly<Nullable<ICellEditorManagerParam>>

Implementation of

ICellEditorManagerService.getState

Defined in

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


setFocus()

setFocus(param): void

Parameters

ParameterTypeDefault value
parambooleanfalse

Returns

void

Implementation of

ICellEditorManagerService.setFocus

Defined in

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


setRect()

setRect(param): void

Parameters

ParameterType
paramICellEditorBoundingClientRect

Returns

void

Implementation of

ICellEditorManagerService.setRect

Defined in

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


setState()

setState(param): void

Parameters

ParameterType
paramICellEditorManagerParam

Returns

void

Implementation of

ICellEditorManagerService.setState

Defined in

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