@univerjssheetsindexfunctionsGetinsertrangemutations

@univerjs/sheets v0.5.4


Function: getInsertRangeMutations()

function getInsertRangeMutations(accessor, params): {
  redo: IMutationInfo[];
  undo: IMutationInfo[];
}

Defined in: submodules/univer/packages/sheets/src/commands/utils/handle-range-mutation.ts:80

InsertRange is not a mutation but combination of SetRangeValuesMutation and MoveRangeMutation.

Parameters

ParameterType
accessorIAccessor
paramsIInsertRangeMutationParams

Returns

{
  redo: IMutationInfo[];
  undo: IMutationInfo[];
}
NameTypeDefined in
redoIMutationInfo[]submodules/univer/packages/sheets/src/commands/utils/handle-range-mutation.ts:177
undoIMutationInfo[]submodules/univer/packages/sheets/src/commands/utils/handle-range-mutation.ts:178