Interface: ViewContextValue
API / @xmachines/play-vue / ViewContextValue
Defined in: packages/play-vue/src/actor-provider-context.ts:23
The context value that ActorProvider provides and PlayRenderer, the leaf without props, reads. usePlayView() gives it inside every ActorProvider tree and PlayUIProvider tree.
Extends
BaseViewContextValue<ComponentRegistry>
Properties
| Property | Type | Description | Inherited from | Defined in |
|---|---|---|---|---|
handlers | Record<string, ActionHandler> | The action handlers, resolved against the live StateStore. | BaseViewContextValue.handlers | packages/play-actor/src/abstract-actor.ts:127 |
registry | TRegistry | The component registry, from registryResult.registry. | BaseViewContextValue.registry | packages/play-actor/src/abstract-actor.ts:129 |
spec | PlaySpec | The current PlaySpec to render. | BaseViewContextValue.spec | packages/play-actor/src/abstract-actor.ts:125 |
store | StateStore | The active StateStore. Give it to JSONUIProvider or JsonUIProvider as store, and the providers then share the state. | BaseViewContextValue.store | packages/play-actor/src/abstract-actor.ts:133 |