@univerjssheets-uiindexfunctionsAttachselectionwithcoord

@univerjs/sheets-ui v0.5.0-beta.1Docs


Function: attachSelectionWithCoord()

function attachSelectionWithCoord(selection, skeleton): ISelectionWithCoord

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

Defined in

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