@univerjs/sheets-ui v0.4.2 • Docs
Class: CellEditorManagerService
Implements
Constructors
new CellEditorManagerService()
new CellEditorManagerService(): CellEditorManagerService
Returns
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
focus$ | readonly | Observable <boolean > | packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:60 (opens in a new tab) |
rect$ | readonly | Observable <Nullable <ICellEditorBoundingClientRect >> | packages/sheets-ui/src/services/editor/cell-editor-manager.service.ts:56 (opens in a new tab) |
state$ | readonly | Observable <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
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
Parameter | Type | Default value |
---|---|---|
param | boolean | false |
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
Parameter | Type |
---|---|
param | ICellEditorBoundingClientRect |
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
Parameter | Type |
---|---|
param | ICellEditorManagerParam |
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)