@univerjs/sheets v0.5.0-beta.1 • Docs
Function: SetWorksheetDefaultStyleMutationFactory()
function SetWorksheetDefaultStyleMutationFactory(accessor, params): {
defaultStyle: string | Nullable<IStyleData>;
subUnitId: string;
unitId: params.unitId;
}
Parameters
Parameter | Type |
---|---|
accessor | IAccessor |
params | ISetWorksheetDefaultStyleMutationParams |
Returns
{
defaultStyle: string | Nullable<IStyleData>;
subUnitId: string;
unitId: params.unitId;
}
Name | Type | Default value | Defined in |
---|---|---|---|
defaultStyle | string | Nullable <IStyleData > | - | submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:55 |
subUnitId | string | - | submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:54 |
unitId | string | params.unitId | submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:53 |
Defined in
submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:45