From 608e9927ebbd611f35fe103c7f23c3ebb4209dc6 Mon Sep 17 00:00:00 2001 From: Luke Date: Mon, 8 Aug 2022 23:50:46 +0200 Subject: [PATCH] add disable input property for menu --- docs/ox_lib/Interface/Client/menu.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/ox_lib/Interface/Client/menu.md b/docs/ox_lib/Interface/Client/menu.md index 7e2acd49..348bc5af 100644 --- a/docs/ox_lib/Interface/Client/menu.md +++ b/docs/ox_lib/Interface/Client/menu.md @@ -19,6 +19,7 @@ Registers and caches a menu under the specified id. -- defaultIndex: number (optional - sets the current index for the list to specified number) -- args: any (optional) -- position: 'top-left' or 'top-right' or 'bottom-left' or 'bottom-right' (optional - default is top-left) + -- disableInput: boolean (optional - default false) -- onClose: function (optional) -- onSelected: function (optional - triggers every time a new button is selected) -- onSideScroll: function (optional - triggers every time a side list is scrolled) @@ -39,7 +40,7 @@ lib.showMenu(id) ### lib.hideMenu ```lua --- onExit: boolean (optinal - if true runs the menu's onClose function) +-- onExit: boolean (optional - if true runs the menu's onClose function) lib.hideMenu(onExit) ```