@univerjs/sheets v0.5.0-beta.1 • 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>[];
}
Name | Type | Defined in |
---|---|---|
redo | IMutationInfo <object >[] | submodules/univer/packages/sheets/src/commands/utils/handle-range-mutation.ts:177 |
undo | IMutationInfo <object >[] | submodules/univer/packages/sheets/src/commands/utils/handle-range-mutation.ts:178 |
Defined in
submodules/univer/packages/sheets/src/commands/utils/handle-range-mutation.ts:80