Interface: ComposedView
API / @xmachines/play-view / index / ComposedView
Defined in: packages/play-view/src/compose-views.ts:48
The static half of a composed view: everything but the /context projection.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
elements | readonly | Record<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:52 |
root | readonly | string | The root key of the outermost view. | packages/play-view/src/compose-views.ts:50 |
state? | readonly | Record<string, unknown> | The authored state of every composed view. The outer view wins on a conflict. | packages/play-view/src/compose-views.ts:54 |
viewParts | readonly | readonly string[] | The ids of the composed state nodes, outermost first. | packages/play-view/src/compose-views.ts:56 |