Readonly
whenAn OnEvent
sender of bootstrap readiness event.
The registered receiver will be notified once bootstrap is complete.
If bootstrap is complete already, the receiver will be notified immediately.
Obtains value of the given context entry.
Either context entry value, or a fallback one.
Requested context value type.
Context entry to obtain the value of.
Optional
request: WithoutFallback<TValue>Context value request with fallback specified.
Obtains value of the given context entry, or returns a non-nullable fallback.
Either context entry value, or a fallback one.
Requested context value type.
Context entry to obtain the value of.
Context value request with fallback specified.
Obtains value of the given context entry, or returns a nullable fallback.
Either context entry value, or a fallback one.
CxReferenceError - If the target entry
has no value and fallback one is not provided.
Requested context value type.
Context entry to obtain the value of.
Optional
request: CxRequest<TValue>Context value request.
Allows to loads the given feature
.
Loaded feature reference.
The feature to load.
Optional
user: SupplyPeerThe user of the feature. The feature reference will be dismissed once the user's supply is cut off.
Allows to wait for component definition.
This corresponds to window.customElements.whenDefined()
method.
An OnEvent
sender of definition context sent when the given componentType
is registered.
A type of component.
Component class constructor.
Generated using TypeDoc
Components bootstrap context.
An instance of this class is passed to init method so that the feature can configure itself.
Extends
BootstrapValues
interface. The values could be pre-configured in feature definitions.