@univerjs/sheets v0.5.0-beta.1 • Docs
Function: getMoveRangeUndoRedoMutations()
function getMoveRangeUndoRedoMutations(
accessor,
from,
to,
ignoreMerge): null | {
redos: IMutationInfo<object>[];
undos: IMutationInfo<object>[];
}
Parameters
Parameter | Type | Default value |
---|---|---|
accessor | IAccessor | undefined |
from | IRangeUnit | undefined |
to | IRangeUnit | undefined |
ignoreMerge | boolean | false |
Returns
null
| {
redos
: IMutationInfo
<object
>[];
undos
: IMutationInfo
<object
>[];
}
Defined in
submodules/univer/packages/sheets/src/commands/commands/move-range.command.ts:131