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

@univerjs/sheets-ui v0.4.2Docs


Function: deriveStateFromActiveSheet$()

function deriveStateFromActiveSheet$<T>(
   univerInstanceService, 
   defaultValue, 
callback): Observable<T>

Type Parameters

Type Parameter
T

Parameters

ParameterType
univerInstanceServiceIUniverInstanceService
defaultValueT
callback(active) => Observable<T>

Returns

Observable<T>

Defined in

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


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