mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
ox_lib: Slider options (#37)
* ox_lib: Slider options * ox_lib: Add slider type
This commit is contained in:
1 parent
608e9927eb
commit
8b3233e27c
1 file changed
+4
-1
@@ -13,7 +13,7 @@ by setting input fields.
|
||||
```lua
|
||||
-- heading: string
|
||||
-- rows: strings array or table
|
||||
-- type: "input" or "number" or "checkbox" or "select"
|
||||
-- type: "input" or "number" or "checkbox" or "select" or "slider"
|
||||
-- label: string
|
||||
-- options: table array (optional - used ONLY with "select" type)
|
||||
-- value: string
|
||||
@@ -24,6 +24,9 @@ by setting input fields.
|
||||
-- placeholder: string (optional - used ONLY with "input" or "number" type)
|
||||
-- default: string or number (optional)
|
||||
-- checked: boolean (optional - used ONLY with "checkbox" type)
|
||||
-- min: number (optional - used ONLY with "slider" type)
|
||||
-- max: number (optional - used ONLY with "slider" type)
|
||||
-- step: number (optional - used ONLY with "slider" type)
|
||||
|
||||
lib.inputDialog(heading, rows)
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user