@univerjssheetsindexfunctionsSetworksheetdefaultstylemutationfactory

@univerjs/sheets v0.5.4


Function: SetWorksheetDefaultStyleMutationFactory()

function SetWorksheetDefaultStyleMutationFactory(accessor, params): {
  defaultStyle:   | string
     | Nullable<IStyleData>;
  subUnitId: string;
  unitId: string;
}

Defined in: submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:45

Parameters

ParameterType
accessorIAccessor
paramsISetWorksheetDefaultStyleMutationParams

Returns

{
  defaultStyle:   | string
     | Nullable<IStyleData>;
  subUnitId: string;
  unitId: string;
}
NameTypeDefault valueDefined in
defaultStyle| string | Nullable<IStyleData>-submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:55
subUnitIdstring-submodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:54
unitIdstringparams.unitIdsubmodules/univer/packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:53