@univerjs/sheets v0.4.2 • 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
packages/sheets/src/commands/commands/move-range.command.ts:131 (opens in a new tab)