Format fix
This commit is contained in:
parent
0569c820a7
commit
d729d949bd
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
|
@ -24,17 +24,17 @@ The Controls define the UI Controls.
|
|||
|
||||
| Name | Type | Optional? | Default |
|
||||
|-----------------|-------------------|------------|-----------------|
|
||||
| type | "toggle" | "dropDown" | "slider" | No | / |
|
||||
| text | string | No | / |
|
||||
| topic | string | No | / |
|
||||
| type | "toggle" | "dropDown" | "slider" | No | |
|
||||
| text | string | No | |
|
||||
| topic | string | No | |
|
||||
| enableCondition | string => boolean | Yes | () => true |
|
||||
| *Toggle Options* |
|
||||
| **Toggle Options** |
|
||||
| on | string | Yes | "on" |
|
||||
| off | string | Yes | "off" |
|
||||
| toggled | string => boolean | Yes | x => x == "off" |
|
||||
| *DropDown Options* |
|
||||
| **DropDown Options** |
|
||||
| options | Map<string,*> | Yes | {} |
|
||||
| *Slider Options* |
|
||||
| **Slider Options** |
|
||||
| min | number | Yes | 0 |
|
||||
| max | number | Yes | 1 |
|
||||
| step | number | Yes | 1 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue