@univerjs/sheets v0.4.2 • 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 > | - | packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:55 (opens in a new tab) |
subUnitId | string | - | packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:54 (opens in a new tab) |
unitId | string | params.unitId | packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:53 (opens in a new tab) |