@univerjssheets-uiindexclassesAutoheightcontroller

@univerjs/sheets-ui v0.5.4


Class: AutoHeightController

Defined in: submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:44

Extends

Constructors

new AutoHeightController()

new AutoHeightController(
   _renderManagerService, 
   _sheetInterceptorService, 
   _selectionManagerService, 
   _univerInstanceService): AutoHeightController

Defined in: submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:45

Parameters

ParameterType
_renderManagerServiceRenderManagerService
_sheetInterceptorServiceSheetInterceptorService
_selectionManagerServiceSheetsSelectionsService
_univerInstanceServiceIUniverInstanceService

Returns

AutoHeightController

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

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


getUndoRedoParamsOfAutoHeight()

getUndoRedoParamsOfAutoHeight(ranges): {
  redos: {
     id: string;
     params: ISetWorksheetRowAutoHeightMutationParams;
    }[];
  undos: {
     id: string;
     params: ISetWorksheetRowAutoHeightMutationParams;
    }[];
}

Defined in: submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:55

Parameters

ParameterType
rangesIRange[]

Returns

{
  redos: {
     id: string;
     params: ISetWorksheetRowAutoHeightMutationParams;
    }[];
  undos: {
     id: string;
     params: ISetWorksheetRowAutoHeightMutationParams;
    }[];
}
NameTypeDefined in
redos{ id: string; params: ISetWorksheetRowAutoHeightMutationParams; }[]submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:86
undos{ id: string; params: ISetWorksheetRowAutoHeightMutationParams; }[]submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:80