API Reference
@univerjs
@univerjs/sheets-ui
functions
Getrepeatrange

@univerjs/sheets-ui v0.4.2Docs


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

packages/sheets-ui/src/services/clipboard/utils.ts:31 (opens in a new tab)


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