API Reference
@univerjs
@univerjs/sheets-ui
functions
Getobservablewithexclusiverange$

@univerjs/sheets-ui v0.4.2Docs


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

packages/sheets-ui/src/controllers/menu/menu-util.ts:93 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.