@univerjssheets-uiindexclassesSheetcelleditorresizeservice

@univerjs/sheets-ui v0.5.0-beta.1Docs


Class: SheetCellEditorResizeService

Every render module should implement this interface.

Extends

Implements

Constructors

new SheetCellEditorResizeService()

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

Parameters

ParameterType
_contextIRenderContext<Workbook>
_layoutServiceILayoutService
_cellEditorManagerServiceICellEditorManagerService
_editorBridgeServiceIEditorBridgeService
_renderManagerServiceIRenderManagerService
_sheetSkeletonManagerServiceSheetSkeletonManagerService

Returns

SheetCellEditorResizeService

Overrides

Disposable.constructor

Defined in

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

Properties

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

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IRenderModule.dispose

Inherited from

Disposable.dispose

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:106


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


fitTextSize()

fitTextSize(callback?): void

Parameters

ParameterType
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

ParameterType
callback?() => void

Returns

void

Defined in

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