@univerjssheets-uiindexclassesSheetcelleditorresizeservice

@univerjs/sheets-ui v0.5.4


Class: SheetCellEditorResizeService

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts:39

Every render module should implement this interface.

Extends

Implements

Constructors

new SheetCellEditorResizeService()

new SheetCellEditorResizeService(
   _context, 
   _layoutService, 
   _cellEditorManagerService, 
   _editorBridgeService, 
   _renderManagerService, 
   _sheetSkeletonManagerService, 
   _univerInstanceService): SheetCellEditorResizeService

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts:40

Parameters

ParameterType
_contextIRenderContext<Workbook>
_layoutServiceILayoutService
_cellEditorManagerServiceICellEditorManagerService
_editorBridgeServiceIEditorBridgeService
_renderManagerServiceIRenderManagerService
_sheetSkeletonManagerServiceSheetSkeletonManagerService
_univerInstanceServiceIUniverInstanceService

Returns

SheetCellEditorResizeService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


fitTextSize()

fitTextSize(callback?): void

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts:53

Parameters

ParameterType
callback?() => void

Returns

void


resizeCellEditor()

resizeCellEditor(callback?): void

Defined in: submodules/univer/packages/sheets-ui/src/services/editor/cell-editor-resize.service.ts:388

Parameters

ParameterType
callback?() => void

Returns

void