mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-19 09:16:41 +00:00
Update docs
This commit is contained in:
parent
d87aab8bc6
commit
95fe10a833
@ -53,7 +53,7 @@ Example 2: Set the default `page` for next object(s) to `3` besides adding a com
|
|||||||
|
|
||||||
If you then omit the `page` parameter in the lines below this comment, those objects will appear by default on page `3`.
|
If you then omit the `page` parameter in the lines below this comment, those objects will appear by default on page `3`.
|
||||||
|
|
||||||
> Note: If the line is not valid json, the parsing of the rest of the file is also stopped.
|
?> If the line is not valid json, the parsing of the rest of the file is also stopped.
|
||||||
|
|
||||||
## Blank Lines
|
## Blank Lines
|
||||||
Blank lines are allowed for readability and are ignored.
|
Blank lines are allowed for readability and are ignored.
|
||||||
|
@ -239,7 +239,7 @@ When the item is changed both `val` and `txt` of the newly selected item are sen
|
|||||||
| txt | string | no | "" | *Read-only* The text of the selected item
|
| txt | string | no | "" | *Read-only* The text of the selected item
|
||||||
| rows | int8 | no | 3 | The number ow rows that are visible
|
| rows | int8 | no | 3 | The number ow rows that are visible
|
||||||
|
|
||||||
Note: A roller does not use the `h` attribute to set its height, but uses the rows to set the visible number of rows instead.
|
?> A roller does not use the `h` attribute to set its height, but uses the rows to set the visible number of rows instead.
|
||||||
|
|
||||||
To change the currently selected item, use the `val` attribute.
|
To change the currently selected item, use the `val` attribute.
|
||||||
To change the items in the list, use the `options` attribute.
|
To change the items in the list, use the `options` attribute.
|
||||||
|
@ -276,7 +276,7 @@ When the item is changed both `val` and `txt` of the newly selected item are sen
|
|||||||
| txt | string | no | "" | *Read-only* The text of the selected item
|
| txt | string | no | "" | *Read-only* The text of the selected item
|
||||||
| rows | int8 | no | 3 | The number ow rows that are visible
|
| rows | int8 | no | 3 | The number ow rows that are visible
|
||||||
|
|
||||||
Note: A roller does not use the `h` attribute to set its height, but uses the rows to set the visible number of rows instead.
|
?> A roller does not use the `h` attribute to set its height, but uses the rows to set the visible number of rows instead.
|
||||||
|
|
||||||
To change the currently selected item, use the `val` attribute.
|
To change the currently selected item, use the `val` attribute.
|
||||||
To change the items in the list, use the `options` attribute.
|
To change the items in the list, use the `options` attribute.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user