mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-24 13:35:12 +00:00
Base: Document NumericInput properties
I forgot to do this when I added them.
This commit is contained in:
parent
e265d81277
commit
340936ad09
Notes:
sideshowbarker
2024-07-16 20:31:50 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/340936ad09 Pull-request: https://github.com/SerenityOS/serenity/pull/22692
1 changed files with 11 additions and 1 deletions
|
@ -14,6 +14,16 @@ Defines a GUI text box that only allows integers within a specified range.
|
|||
|
||||
```gml
|
||||
@GUI::NumericInput {
|
||||
text: "23"
|
||||
min: 0
|
||||
value: 42
|
||||
max: 9000
|
||||
}
|
||||
```
|
||||
|
||||
## Registered Properties
|
||||
|
||||
| Property | Type | Possible values | Description |
|
||||
|----------|-------|--------------------|----------------------------------------|
|
||||
| min | int | Any 64 bit integer | Minimum number the input can be set to |
|
||||
| max | int | Any 64 bit integer | Maximum number the input can be set to |
|
||||
| value | int | Any 64 bit integer | Initial value |
|
||||
|
|
Loading…
Add table
Reference in a new issue