@univerjssheets-uiindexclassesAutoheightcontroller

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


Class: AutoHeightController

Extends

Constructors

new AutoHeightController()

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

Parameters

ParameterType
_renderManagerServiceRenderManagerService
_sheetInterceptorServiceSheetInterceptorService
_selectionManagerServiceSheetsSelectionsService
_univerInstanceServiceIUniverInstanceService

Returns

AutoHeightController

Overrides

Disposable.constructor

Defined in

submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:41

Properties

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

Methods

dispose()

dispose(): void

Returns

void

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


getUndoRedoParamsOfAutoHeight()

getUndoRedoParamsOfAutoHeight(ranges): {
  redos: {
     id: SetWorksheetRowAutoHeightMutation.id;
     params: redoParams;
    }[];
  undos: {
     id: SetWorksheetRowAutoHeightMutation.id;
     params: undoParams;
    }[];
}

Parameters

ParameterType
rangesIRange[]

Returns

{
  redos: {
     id: SetWorksheetRowAutoHeightMutation.id;
     params: redoParams;
    }[];
  undos: {
     id: SetWorksheetRowAutoHeightMutation.id;
     params: undoParams;
    }[];
}
NameTypeDefined in
redos{ id: SetWorksheetRowAutoHeightMutation.id; params: redoParams; }[]submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:82
undos{ id: SetWorksheetRowAutoHeightMutation.id; params: undoParams; }[]submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:76

Defined in

submodules/univer/packages/sheets-ui/src/controllers/auto-height.controller.ts:51