Skip to content

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

Properties

PropertyTypeDescriptionInherited fromDefined in
handlersRecord<string, ActionHandler>The action handlers, resolved against the live StateStore.BaseViewContextValue.handlerspackages/play-actor/src/abstract-actor.ts:127
registryTRegistryThe component registry, from registryResult.registry.BaseViewContextValue.registrypackages/play-actor/src/abstract-actor.ts:129
specPlaySpecThe current PlaySpec to render.BaseViewContextValue.specpackages/play-actor/src/abstract-actor.ts:125
storeStateStoreThe active StateStore. Give it to JSONUIProvider or JsonUIProvider as store, and the providers then share the state.BaseViewContextValue.storepackages/play-actor/src/abstract-actor.ts:133