From 8b3233e27ca493d28fd24c94ea9bcebf16a152d8 Mon Sep 17 00:00:00 2001 From: ANTOND <71350868+antond15@users.noreply.github.com> Date: Wed, 10 Aug 2022 21:49:47 +0200 Subject: [PATCH] ox_lib: Slider options (#37) * ox_lib: Slider options * ox_lib: Add slider type --- docs/ox_lib/Interface/Client/input.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/ox_lib/Interface/Client/input.md b/docs/ox_lib/Interface/Client/input.md index 0e109a07..442ae3d7 100644 --- a/docs/ox_lib/Interface/Client/input.md +++ b/docs/ox_lib/Interface/Client/input.md @@ -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) ```