本页还没有译文
本页 17 段还没译成Français,下面显示的是英文原文。cell_getSelectionEdges
还没翻译译自英文(tanstack.com)本页 17 段都还没译
function cell_getSelectionEdges<TFeatures, TData, TValue>(cell): CellSelectionEdges;Defined in: features/cell-selection/cellSelectionFeature.utils.ts:625
Returns which sides of this cell sit on the outer boundary of the selection.
A side is an edge when the neighbouring cell in that direction is not itself covered by a range, which is what lets a consumer draw a single outline around an arbitrary union of rectangles.
Type Parameters
TFeatures
TFeatures extends TableFeatures
TData
TData extends RowData
TValue
TValue extends unknown = unknown
Parameters
cell
Cell<TFeatures, TData, TValue>
Returns
Example
const { top, right, bottom, left } = cell_getSelectionEdges(cell)AI 翻译查看英文原文