@univerjssheetsindexfunctionsSetworksheetdefaultstylemutationfactory

@univerjs/sheets v0.5.0-beta.1Docs


Function: SetWorksheetDefaultStyleMutationFactory()

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

Parameters

ParameterType
accessorIAccessor
paramsISetWorksheetDefaultStyleMutationParams

Returns

{
  defaultStyle: string | Nullable<IStyleData>;
  subUnitId: string;
  unitId: params.unitId;
}
NameTypeDefault valueDefined in
defaultStylestring | 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

Defined in

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