controlPanelConfig
Examples
kind: ControlPanel
controls:
header:
kind: Text
type: h1
text: Parameters
height:
kind: Slider
min: 1
max: 100
value: 50
precision: 0
subscribe: # OPTIONAL
- kind: Model
frame: my-home-frame
source: my-model
- kind: DataStore
frame: my-home-frame
source: my-datastore
Object properties
Name |
Type |
Required |
kind |
Constant: ControlPanel |
yes |
controls |
Dictionary |
yes |
subscribe |
Array |
no |
- A ControlPanel allows users to change alter values and see textual results
- Object with the following properties:
kind
(required): Constant ControlPanel
controls
(required): Dictionary of:
- One of the following types:
subscribe
(optional):
- Subscribe to one or more sources
- Array of:
- One of the following types: