@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Class: CellEditorManagerService
Implements
Constructors
new CellEditorManagerService()
new CellEditorManagerService(): CellEditorManagerService
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
focus$ | readonly | Observable <boolean > | submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:60 |
rect$ | readonly | Observable <Nullable <ICellEditorBoundingClientRect >> | submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:56 |
state$ | readonly | Observable <Nullable <ICellEditorManagerParam >> | submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:52 |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
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
Parameter | Type | Default value |
---|---|---|
param | boolean | false |
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
Parameter | Type |
---|---|
param | ICellEditorBoundingClientRect |
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
Parameter | Type |
---|---|
param | ICellEditorManagerParam |
Returns
void
Implementation of
ICellEditorManagerService
.setState
Defined in
submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:69