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 |
|
| Name | Type | Optional? | Default |
|
||||||
|-----------------|-------------------|------------|-----------------|
|
|-----------------|-------------------|------------|-----------------|
|
||||||
| type | "toggle" | "dropDown" | "slider" | No | / |
|
| type | "toggle" | "dropDown" | "slider" | No | |
|
||||||
| text | string | No | / |
|
| text | string | No | |
|
||||||
| topic | string | No | / |
|
| topic | string | No | |
|
||||||
| enableCondition | string => boolean | Yes | () => true |
|
| enableCondition | string => boolean | Yes | () => true |
|
||||||
| *Toggle Options* |
|
| **Toggle Options** |
|
||||||
| on | string | Yes | "on" |
|
| on | string | Yes | "on" |
|
||||||
| off | string | Yes | "off" |
|
| off | string | Yes | "off" |
|
||||||
| toggled | string => boolean | Yes | x => x == "off" |
|
| toggled | string => boolean | Yes | x => x == "off" |
|
||||||
| *DropDown Options* |
|
| **DropDown Options** |
|
||||||
| options | Map<string,*> | Yes | {} |
|
| options | Map<string,*> | Yes | {} |
|
||||||
| *Slider Options* |
|
| **Slider Options** |
|
||||||
| min | number | Yes | 0 |
|
| min | number | Yes | 0 |
|
||||||
| max | number | Yes | 1 |
|
| max | number | Yes | 1 |
|
||||||
| step | number | Yes | 1 |
|
| step | number | Yes | 1 |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue