From 3c9a5241b957ae0c40311ea06cf867b18458f99b Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 27 Oct 2022 10:21:17 +0200 Subject: [PATCH] add description info to menu values array --- 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 11d3b089..9b1f5d78 100644 --- a/docs/ox_lib/Interface/Client/menu.md +++ b/docs/ox_lib/Interface/Client/menu.md @@ -33,8 +33,9 @@ lib.registerMenu(data, cb) * options: `table` (`array`) * label: `string` * icon?: `string` - * values?: `table` (`string[]`) + * values?: `table` (`Array`) * If provided creates a side scrollabel list. + * When using object and setting description, the set description will be displayed in the menu tooltip. * description?: `string` * Displays tooltip below menu on hovered item with provided description. * defaultIndex?: `number`