@univerjs/sheets-ui v0.5.0-beta.1 • 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
submodules/univer/packages/sheets-ui/src/services/clipboard/utils.ts:31