@univerjs/sheets-ui v0.4.2 • Docs
Class: AutoHeightController
Extends
Constructors
new AutoHeightController()
new AutoHeightController(
_renderManagerService,
_sheetInterceptorService,
_selectionManagerService,
_univerInstanceService): AutoHeightController
Parameters
Parameter | Type |
---|---|
_renderManagerService | RenderManagerService |
_sheetInterceptorService | SheetInterceptorService |
_selectionManagerService | SheetsSelectionsService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
packages/sheets-ui/src/controllers/auto-height.controller.ts:41 (opens in a new tab)
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | packages/core/src/shared/lifecycle.ts:93 (opens in a new tab) |
Methods
dispose()
dispose(): void
Returns
void
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:106 (opens in a new tab)
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
Defined in
packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)
ensureNotDisposed()
protected ensureNotDisposed(): void
Returns
void
Inherited from
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
Parameter | Type |
---|---|
ranges | IRange [] |
Returns
{
redos: {
id: SetWorksheetRowAutoHeightMutation.id;
params: redoParams;
}[];
undos: {
id: SetWorksheetRowAutoHeightMutation.id;
params: undoParams;
}[];
}
Name | Type | Defined in |
---|---|---|
redos | { id : SetWorksheetRowAutoHeightMutation.id ; params : redoParams ; }[] | packages/sheets-ui/src/controllers/auto-height.controller.ts:82 (opens in a new tab) |
undos | { id : SetWorksheetRowAutoHeightMutation.id ; params : undoParams ; }[] | packages/sheets-ui/src/controllers/auto-height.controller.ts:76 (opens in a new tab) |
Defined in
packages/sheets-ui/src/controllers/auto-height.controller.ts:51 (opens in a new tab)