API Reference
@univerjs
@univerjs/sheets-ui
classes
Autoheightcontroller

@univerjs/sheets-ui v0.1.17Docs


Class: AutoHeightController

Extends

Constructors

new AutoHeightController()

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

Parameters

ParameterType
_renderManagerServiceRenderManagerService
_injectorInjector
_sheetInterceptorServiceSheetInterceptorService
_selectionManagerServiceSelectionManagerService
_univerInstanceServiceIUniverInstanceService

Returns

AutoHeightController

Overrides

Disposable.constructor

Defined in

packages/sheets-ui/src/controllers/auto-height.controller.ts:41 (opens in a new tab)

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Inherited from

Disposable.dispose

Defined in

packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)


disposeWithMe()

protected disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


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; }[]packages/sheets-ui/src/controllers/auto-height.controller.ts:89 (opens in a new tab)
undos{ id: SetWorksheetRowAutoHeightMutation.id; params: undoParams; }[]packages/sheets-ui/src/controllers/auto-height.controller.ts:83 (opens in a new tab)

Defined in

packages/sheets-ui/src/controllers/auto-height.controller.ts:52 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.