@univerjs/sheets-ui v0.5.0-beta.1Docs


Function: getRepeatRange()

function getRepeatRange(
   sourceRange, 
   targetRange, 
   isStrictMode?): {
  repeatRelativeRange: IRange;
  startRange: IRange;
 }[]

Parameters

ParameterTypeDefault valueDescription
sourceRangeIRangeundefined-
targetRangeIRangeundefined-
isStrictMode?booleanfalseif is true,the remainder of the row and column must all be 0 to be repeated

Returns

{ repeatRelativeRange: IRange; startRange: IRange; }[]

Defined in

submodules/univer/packages/sheets-ui/src/services/clipboard/utils.ts:31