@microsoft/fast-element/context.js
Classes
|
Class |
Description |
|---|---|
|
An event fired by a context requester to signal it desires a named context. A provider should inspect the If the requested context event contains a truthy |
Variables
|
Variable |
Description |
|---|---|
|
Enables using: W3C Community Context protocol. |
Type Aliases
|
Type Alias |
Description |
|---|---|
|
A Context object defines an optional initial value for a Context, as well as a name identifier for debugging purposes. | |
|
A callback which is provided by a context requester and is called with the value satisfying the request. This callback can be called multiple times by context providers as the requested value is changed. | |
|
A constant key that can be used to represent a Context dependency. The key can be used for context or DI but also doubles as a decorator for resolving the associated dependency. | |
|
A helper type which can extract a Context value type from a Context type | |
|
A Context object defines an optional initial value for a Context, as well as a name identifier for debugging purposes. The FASTContext can also be used as a decorator to declare context dependencies or as a key for DI. | |
|
A strategy that controls how all Context.request API calls are handled. | |
|
An unknown context type. |