Interface: IContextService
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:22
Properties
Property | Modifier | Type | Defined in |
---|---|---|---|
contextChanged$ | readonly | Observable <{}> | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:23 |
Methods
getContextValue()
getContextValue(key): boolean
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:25
Parameters
Parameter | Type |
---|---|
key | string |
Returns
boolean
setContextValue()
setContextValue(key, value): void
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:26
Parameters
Parameter | Type |
---|---|
key | string |
value | boolean |
Returns
void
subscribeContextValue$()
subscribeContextValue$(key): Observable<boolean>
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:28
Parameters
Parameter | Type |
---|---|
key | string |
Returns
Observable
<boolean
>