@univerjs/core v0.5.0-beta.1 • Docs
Interface: IContextService
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
Parameters
Parameter | Type |
---|---|
key | string |
Returns
boolean
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:25
setContextValue()
setContextValue(key, value): void
Parameters
Parameter | Type |
---|---|
key | string |
value | boolean |
Returns
void
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:26
subscribeContextValue$()
subscribeContextValue$(key): Observable<boolean>
Parameters
Parameter | Type |
---|---|
key | string |
Returns
Observable
<boolean
>
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/core/src/services/context/context.service.ts:28