@univerjs/engine-render v0.5.0-beta.1 • Docs
Function: clampRange()
function clampRange(
range,
maxRow,
maxColumn): {
endColumn: number;
endRow: number;
startColumn: number;
startRow: number;
}
Parameters
Parameter | Type |
---|---|
range | IRange |
maxRow | number |
maxColumn | number |
Returns
{
endColumn: number;
endRow: number;
startColumn: number;
startRow: number;
}
Name | Type | Defined in |
---|---|---|
endColumn | number | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:778 |
endRow | number | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:776 |
startColumn | number | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:777 |
startRow | number | packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:775 |
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/basics/tools.ts:773