API Reference
@univerjs
@univerjs/sheets
functions
Getmoverangeundoredomutations

@univerjs/sheets v0.4.2Docs


Function: getMoveRangeUndoRedoMutations()

function getMoveRangeUndoRedoMutations(
   accessor, 
   from, 
   to, 
   ignoreMerge): null | {
  redos: IMutationInfo<object>[];
  undos: IMutationInfo<object>[];
}

Parameters

ParameterTypeDefault value
accessorIAccessorundefined
fromIRangeUnitundefined
toIRangeUnitundefined
ignoreMergebooleanfalse

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)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.