Viewscreen
Overview
viewScreen is a mountable top-level screen, mountable at runtime via mount_screen(...) or screenFlow at the mount path /<id>.
Fields
Key |
Type |
Default |
Required |
Description |
|---|---|---|---|---|
|
string |
none |
Yes |
Fixed to |
|
string |
none |
Yes |
Screen id; the mount path is |
|
|
|
No |
|
|
object |
baseline |
No |
Common state, see Commonprops |
|
object |
baseline |
No |
Direct child layout, see Layout |
|
object |
baseline |
No |
Placement of the current node, see Placement |
|
object |
theme merge result |
No |
Visual style, see Style |
|
object |
|
No |
State style overrides, see State Styles |
|
string[] |
|
No |
Named style references, see View |
|
array |
|
No |
Event declarations, see Events |
|
array |
|
No |
Declarative animations, see Animations |
|
object |
|
No |
Store bindings, see Bindings |
|
array |
|
No |
Child nodes or |
{
"type": "viewScreen",
"id": "home",
"children": [
{"type": "label", "id": "title", "labelProps": {"text": "Home"}}
]
}