@univerjs/sheets v0.4.2 • Docs
Function: getInsertRangeMutations()
function getInsertRangeMutations(accessor, params): {
redo: IMutationInfo<object>[];
undo: IMutationInfo<object>[];
}
InsertRange is not a mutation but combination of SetRangeValuesMutation
and MoveRangeMutation
.
Parameters
Parameter | Type |
---|---|
accessor | IAccessor |
params | IInsertRangeMutationParams |
Returns
{
redo: IMutationInfo<object>[];
undo: IMutationInfo<object>[];
}
Defined in
packages/sheets/src/commands/utils/handle-range-mutation.ts:80 (opens in a new tab)