@univerjs/sheets-ui v0.4.2 • Docs
Function: getCustomRangePosition()
function getCustomRangePosition(
injector,
unitId,
subUnitId,
row,
col,
rangeId): undefined | null | {
customRange: ICustomRange<Record<string, any>>;
label: string;
rects: undefined | {
bottom: number;
left: number;
right: number;
top: number;
}[];
}
Parameters
Parameter | Type |
---|---|
injector | Injector |
unitId | string |
subUnitId | string |
row | number |
col | number |
rangeId | string |
Returns
undefined
| null
| {
customRange
: ICustomRange
<Record
<string
, any
>>;
label
: string
;
rects
: undefined
| {
bottom
: number
;
left
: number
;
right
: number
;
top
: number
;
}[];
}
Defined in
packages/sheets-ui/src/services/utils/doc-skeleton-util.ts:184 (opens in a new tab)