@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Class: SheetCellEditorResizeService
Every render module should implement this interface.
Extends
Implements
Constructors
new SheetCellEditorResizeService()
new SheetCellEditorResizeService(
_context,
_layoutService,
_cellEditorManagerService,
_editorBridgeService,
_renderManagerService,
_sheetSkeletonManagerService): SheetCellEditorResizeService
Parameters
Parameter | Type |
---|---|
_context | IRenderContext <Workbook > |
_layoutService | ILayoutService |
_cellEditorManagerService | ICellEditorManagerService |
_editorBridgeService | IEditorBridgeService |
_renderManagerService | IRenderManagerService |
_sheetSkeletonManagerService | SheetSkeletonManagerService |
Returns
Overrides
Defined in
submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts:40
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
Methods
dispose()
dispose(): void
Returns
void
Implementation of
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:106
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:96
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:100
fitTextSize()
fitTextSize(callback?): void
Parameters
Parameter | Type |
---|---|
callback ? | () => void |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts:51
resizeCellEditor()
resizeCellEditor(callback?): void
Parameters
Parameter | Type |
---|---|
callback ? | () => void |
Returns
void
Defined in
submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts:349