API Reference
@univerjs
@univerjs/sheets
functions
Setworksheetdefaultstylemutationfactory

@univerjs/sheets v0.4.2Docs


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>-packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:55 (opens in a new tab)
subUnitIdstring-packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:54 (opens in a new tab)
unitIdstringparams.unitIdpackages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:53 (opens in a new tab)

Defined in

packages/sheets/src/commands/mutations/set-worksheet-default-style.mutation.ts:45 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.