@univerjs/sheets-ui v0.5.0-beta.1 • Docs
Function: getEditingCustomRangePosition()
function getEditingCustomRangePosition(
injector,
unitId,
subUnitId,
row,
col,
rangeId): 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
null
| {
customRange
: ICustomRange
<Record
<string
, any
>>;
label
: string
;
rects
: undefined
| {
bottom
: number
;
left
: number
;
right
: number
;
top
: number
;
}[];
}
Defined in
submodules/univer/packages/sheets-ui/src/services/utils/doc-skeleton-util.ts:244