@univerjssheets-uiindexfunctionsAttachselectionwithcoord

@univerjs/sheets-ui v0.5.4


Function: attachSelectionWithCoord()

function attachSelectionWithCoord(selection, skeleton): ISelectionWithCoord

Defined in: submodules/univer/packages/sheets-ui/src/services/selection/util.ts:61

Return selection with coord and style from selection, which has range & primary & style. coord are no merge cell position.

Parameters

ParameterType
selectionISelectionWithStyle
skeletonSpreadsheetSkeleton

Returns

ISelectionWithCoord

selection with coord and style