API Reference
@univerjs
@univerjs/engine-render
functions
Clamprange

@univerjs/engine-render v0.4.2Docs


Function: clampRange()

function clampRange(range): {
  endColumn: number;
  endRow: number;
  startColumn: number;
  startRow: number;
}

Parameters

ParameterType
rangeIRange

Returns

{
  endColumn: number;
  endRow: number;
  startColumn: number;
  startRow: number;
}
NameTypeDefined in
endColumnnumbersubmodules/univer/packages/engine-render/src/basics/tools.ts:853 (opens in a new tab)
endRownumbersubmodules/univer/packages/engine-render/src/basics/tools.ts:852 (opens in a new tab)
startColumnnumbersubmodules/univer/packages/engine-render/src/basics/tools.ts:851 (opens in a new tab)
startRownumbersubmodules/univer/packages/engine-render/src/basics/tools.ts:850 (opens in a new tab)

Defined in

submodules/univer/packages/engine-render/src/basics/tools.ts:848 (opens in a new tab)


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