API Reference
@univerjs
@univerjs/sheets-ui
interfaces
Icelleditormanagerservice

@univerjs/sheets-ui v0.4.2Docs


Interface: ICellEditorManagerService

Properties

PropertyTypeDefined in
focus$Observable<boolean>packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:36 (opens in a new tab)
rect$Observable<Nullable<ICellEditorBoundingClientRect>>packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:35 (opens in a new tab)
state$Observable<Nullable<ICellEditorManagerParam>>packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:34 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Defined in

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


getRect()

getRect(): Readonly<Nullable<ICellEditorBoundingClientRect>>

Returns

Readonly<Nullable<ICellEditorBoundingClientRect>>

Defined in

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


getState()

getState(): Readonly<Nullable<ICellEditorManagerParam>>

Returns

Readonly<Nullable<ICellEditorManagerParam>>

Defined in

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


setFocus()

setFocus(param): void

Parameters

ParameterType
paramboolean

Returns

void

Defined in

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


setRect()

setRect(param): void

Parameters

ParameterType
paramICellEditorBoundingClientRect

Returns

void

Defined in

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


setState()

setState(param): void

Parameters

ParameterType
paramICellEditorManagerParam

Returns

void

Defined in

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


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