Interface: ViewTree
API / @xmachines/play-view / index / ViewTree
Defined in: packages/play-view/src/compose-views.ts:27
The resolved view of one active state node, and the resolved views of its children.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
children | readonly | readonly ViewTreeChild[] | The resolved view of each active child, in the order of the machine. It is empty for a view that declares no outlets. | packages/play-view/src/compose-views.ts:36 |
id | readonly | string | The id of the state node that declares view. | packages/play-view/src/compose-views.ts:29 |
view | readonly | ViewMeta | The meta.view of that state node, as the author wrote it. | packages/play-view/src/compose-views.ts:31 |