@univerjs/engine-render v0.5.4
Function: clampRange()
function clampRange(
range,
maxRow,
maxColumn): {
endColumn: number;
endRow: number;
startColumn: number;
startRow: number;
}
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:772
Parameters
Parameter | Type |
---|---|
range | IRange |
maxRow | number |
maxColumn | number |
Returns
{
endColumn: number;
endRow: number;
startColumn: number;
startRow: number;
}