@univerjs/sheets-ui v0.4.2 • Docs
Class: AutoWidthController
Extends
Constructors
new AutoWidthController()
new AutoWidthController(_renderManagerService, _univerInstanceService): AutoWidthController
Parameters
Parameter | Type |
---|---|
_renderManagerService | RenderManagerService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
packages/sheets-ui/src/controllers/auto-width.controller.ts:58 (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)
getUndoRedoParamsOfColWidth()
getUndoRedoParamsOfColWidth(params): {
redos: {
id: SetWorksheetColWidthMutation.id;
params: redoParams;
}[];
undos: {
id: SetWorksheetColWidthMutation.id;
params: undoParams;
}[];
}
Parameters
Parameter | Type |
---|---|
params | Required <ISetWorksheetColIsAutoWidthCommandParams > |
Returns
{
redos: {
id: SetWorksheetColWidthMutation.id;
params: redoParams;
}[];
undos: {
id: SetWorksheetColWidthMutation.id;
params: undoParams;
}[];
}
Name | Type | Defined in |
---|---|---|
redos | { id : SetWorksheetColWidthMutation.id ; params : redoParams ; }[] | packages/sheets-ui/src/controllers/auto-width.controller.ts:98 (opens in a new tab) |
undos | { id : SetWorksheetColWidthMutation.id ; params : undoParams ; }[] | packages/sheets-ui/src/controllers/auto-width.controller.ts:92 (opens in a new tab) |
Defined in
packages/sheets-ui/src/controllers/auto-width.controller.ts:65 (opens in a new tab)