Shared value type.
Readonly
Internal
[A human-readable name of the name.
Refers to itself.
Registers a sharer component.
The registration is necessary for consumers to be able to find the element bound to sharer by that element's name.
Sharer registration supply. Revokes the sharer registration once cut off.
The definition context of the sharer component.
Optional
options: SharedValue.OptionsValue sharing options.
Creates a shared value registrar that shares a value created by the given provider.
New shared value registrar.
Sharer component type.
Shared value definition target.
Shared value provider.
Selects a shared value among candidates.
It is especially useful when the value shared by multiple sharers.
By default:
Either selected value, or undefined
when not present.
Rest
...values: SharedValue<T>[]The values shared by sharers. May contain a detailed value specifiers in addition to pure values.
Shares a value by providing it for the sharer component context.
A builder of shared value for component context.
Shared value registrar.
Locates a shared value for the consuming component.
Searches among parent elements for the one bound to the sharer component, then obtains the shared value from the sharer's context.
An AfterEvent
keeper of the shared value and its sharer context, if found.
Consumer component context.
Location options.
Generated using TypeDoc
A kind of the value a component shares with the nested ones.
The sharing implies the following:
A share instance is used as an identifier in all these steps.
A @Shared component property decorator may be used to automate this.