@univerjssheetsindexfunctionsAddmergeundoselectionsoperationfactory

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


Function: AddMergeUndoSelectionsOperationFactory()

function AddMergeUndoSelectionsOperationFactory(accessor, params): null | {
  id: SetSelectionsOperation.id;
  params: setSelectionsParamByUndo;
}

Parameters

ParameterType
accessorIAccessor
paramsIAddMergeCommandParams

Returns

null | { id: SetSelectionsOperation.id; params: setSelectionsParamByUndo; }

Defined in

submodules/univer/packages/sheets/src/commands/utils/handle-merge-operation.ts:82