@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Function: virtualizeDiscreteRanges()
function virtualizeDiscreteRanges(ranges): {
mapFunc: (row, col) => {
col: number;
row: number;
};
ranges: IRange[];
}
Parameters
Parameter | Type |
---|---|
ranges | IDiscreteRange [] |
Returns
{
mapFunc: (row, col) => {
col: number;
row: number;
};
ranges: IRange[];
}
Name | Type | Defined in |
---|---|---|
mapFunc | (row , col ) => { col : number ; row : number ; } | submodules/univer/packages/sheets-ui/src/controllers/utils/range-tools.ts:64 |
ranges | IRange [] | submodules/univer/packages/sheets-ui/src/controllers/utils/range-tools.ts:63 |
Defined in
submodules/univer/packages/sheets-ui/src/controllers/utils/range-tools.ts:62