@univerjs/sheets-ui v0.4.2 • Docs
Function: getRepeatRange()
function getRepeatRange(
sourceRange,
targetRange,
isStrictMode?): {
repeatRelativeRange: IRange;
startRange: IRange;
}[]
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
sourceRange | IRange | undefined | - |
targetRange | IRange | undefined | - |
isStrictMode ? | boolean | false | if 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)