This commit is contained in:
Ezhulka 2026-07-31 21:10:25 +03:00
parent d04fb4f886
commit d74b6ca91c
4 changed files with 72 additions and 0 deletions

View file

@ -231,6 +231,22 @@ Properties:
| value | string | yes | yes | Selected value |
| options | table | yes | yes | List of options (tables `{value=..., text=...}`) |
## Progress bar (progressbar)
Properties:
| Name | Type | Read | Write | Description |
|------------|--------|------|-------|---------------------------------------------------------------|
| value | float | yes | yes | current value |
| min | float | yes | yes | minimum value |
| max | float | yes | yes | maximum value |
| progress | float | yes | no | progress 0..1 |
| barColor | rgba | yes | yes | color of the filled part |
| bgColor | rgba | yes | yes | background color (empty part) |
| textColor | rgba | yes | yes | text color |
| textFormat | string | yes | yes | text format (sprintf: `%1$` — raw value, `%2$` — percent 0–100) |
| smooth | bool | yes | yes | smooth value change |
## Inventory
Properties: