@univerjs/sheets v0.5.0-beta.1 • Docs
Function: getAddMergeMutationRangeByType()
function getAddMergeMutationRangeByType(selection, type?): IRange[]
calculates the selection based on the merged cell type
Parameters
Parameter | Type |
---|---|
selection | IRange [] |
type ? | Dimension |
Returns
IRange
[]
Defined in
submodules/univer/packages/sheets/src/controllers/merge-cell.controller.ts:94