Class: AutoWidthController
Defined in: submodules/univer/packages/sheets-ui/src/controllers/auto-width.controller.ts:57
Extends
Constructors
new AutoWidthController()
new AutoWidthController(_renderManagerService, _univerInstanceService): AutoWidthController
Defined in: submodules/univer/packages/sheets-ui/src/controllers/auto-width.controller.ts:58
Parameters
Parameter | Type |
---|---|
_renderManagerService | RenderManagerService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | Disposable ._disposed | submodules/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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
ensureNotDisposed()
protected ensureNotDisposed(): void
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103
Returns
void
Inherited from
getUndoRedoParamsOfColWidth()
getUndoRedoParamsOfColWidth(params): {
redos: {
id: string;
params: ISetWorksheetColWidthMutationParams;
}[];
undos: {
id: string;
params: ISetWorksheetColWidthMutationParams;
}[];
}
Defined in: submodules/univer/packages/sheets-ui/src/controllers/auto-width.controller.ts:65
Parameters
Parameter | Type |
---|---|
params | Required <ISetWorksheetColIsAutoWidthCommandParams > |
Returns
{
redos: {
id: string;
params: ISetWorksheetColWidthMutationParams;
}[];
undos: {
id: string;
params: ISetWorksheetColWidthMutationParams;
}[];
}
Name | Type | Defined in |
---|---|---|
redos | { id : string ; params : ISetWorksheetColWidthMutationParams ; }[] | submodules/univer/packages/sheets-ui/src/controllers/auto-width.controller.ts:98 |
undos | { id : string ; params : ISetWorksheetColWidthMutationParams ; }[] | submodules/univer/packages/sheets-ui/src/controllers/auto-width.controller.ts:92 |