@univerjssheets-uiindexfunctionsGetobservablewithexclusiverange$

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


Function: getObservableWithExclusiveRange$()

function getObservableWithExclusiveRange$(
   accessor, 
   observable$, 
disableGroupSet?): Observable<boolean>

Get the observable combine with exclusive range

Parameters

ParameterTypeDescription
accessorIAccessorThe accessor
observable$Observable<boolean>-
disableGroupSet?Set<string>The disable group set, if provided, check if the interestGroupIds contains any of the disableGroupSet, otherwise check if the interestGroupIds is not empty

Returns

Observable<boolean>

The observable combine with exclusive range

Defined in

submodules/univer/packages/sheets-ui/src/controllers/menu/menu-util.ts:93