add disable input property for menu

This commit is contained in:
Luke committed 2022-08-08 23:50:50 +02:00
1 parent 2345af470a
commit 608e9927eb
1 file changed
+2 -1
+2 -1
View File
@@ -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)
```