Skip to content

Interface: ComposedView

API / @xmachines/play-view / index / ComposedView

Defined in: packages/play-view/src/compose-views.ts:44

The static half of a composed view: everything but the /context projection.

Properties

PropertyModifierTypeDescriptionDefined in
elementsreadonlyRecord<string, UIElement<string, Record<string, unknown>>>The elements of every composed view, with the keys of the child views prefixed.packages/play-view/src/compose-views.ts:48
rootreadonlystringThe root key of the outermost view.packages/play-view/src/compose-views.ts:46
state?readonlyRecord<string, unknown>The authored state of every composed view. The outer view wins on a conflict.packages/play-view/src/compose-views.ts:50
viewPartsreadonlyreadonly string[]The ids of the composed state nodes, outermost first.packages/play-view/src/compose-views.ts:52