API Reference
@univerjs
@univerjs/sheets-ui
classes
Celleditormanagerservice

@univerjs/sheets-ui v0.4.2Docs


Class: CellEditorManagerService

Implements

Constructors

new CellEditorManagerService()

new CellEditorManagerService(): CellEditorManagerService

Returns

CellEditorManagerService

Properties

PropertyModifierTypeDefined in
focus$readonlyObservable<boolean>packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:60 (opens in a new tab)
rect$readonlyObservable<Nullable<ICellEditorBoundingClientRect>>packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:56 (opens in a new tab)
state$readonlyObservable<Nullable<ICellEditorManagerParam>>packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:52 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IDisposable.dispose

Defined in

packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:62 (opens in a new tab)


getRect()

getRect(): Readonly<Nullable<ICellEditorBoundingClientRect>>

Returns

Readonly<Nullable<ICellEditorBoundingClientRect>>

Implementation of

ICellEditorManagerService.getRect

Defined in

packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:75 (opens in a new tab)


getState()

getState(): Readonly<Nullable<ICellEditorManagerParam>>

Returns

Readonly<Nullable<ICellEditorManagerParam>>

Implementation of

ICellEditorManagerService.getState

Defined in

packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:84 (opens in a new tab)


setFocus()

setFocus(param): void

Parameters

ParameterTypeDefault value
parambooleanfalse

Returns

void

Implementation of

ICellEditorManagerService.setFocus

Defined in

packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:88 (opens in a new tab)


setRect()

setRect(param): void

Parameters

ParameterType
paramICellEditorBoundingClientRect

Returns

void

Implementation of

ICellEditorManagerService.setRect

Defined in

packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:79 (opens in a new tab)


setState()

setState(param): void

Parameters

ParameterType
paramICellEditorManagerParam

Returns

void

Implementation of

ICellEditorManagerService.setState

Defined in

packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:69 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.