mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 22:22:46 +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
|
```lua
|
||||||
-- heading: string
|
-- heading: string
|
||||||
-- rows: strings array or table
|
-- 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
|
-- label: string
|
||||||
-- options: table array (optional - used ONLY with "select" type)
|
-- options: table array (optional - used ONLY with "select" type)
|
||||||
-- value: string
|
-- value: string
|
||||||
@@ -24,6 +24,9 @@ by setting input fields.
|
|||||||
-- placeholder: string (optional - used ONLY with "input" or "number" type)
|
-- placeholder: string (optional - used ONLY with "input" or "number" type)
|
||||||
-- default: string or number (optional)
|
-- default: string or number (optional)
|
||||||
-- checked: boolean (optional - used ONLY with "checkbox" type)
|
-- 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)
|
lib.inputDialog(heading, rows)
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user