feat(web/menu): tooltip description support

This commit is contained in:
Luke
2022-08-04 15:04:49 +02:00
committed by Luke
parent 4236dd2bfd
commit 7b147b04fc
2 changed files with 59 additions and 39 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ RegisterCommand('testMenu', function()
end,
options = {
{label = 'Nice option'},
{label = 'Nice header', values = {'Option1', 'option2', 'option3'}}
{label = 'Nice header', values = {'Option1', 'option2', 'option3'}, description = 'Tooltip description'}
}
}, function(selected, scrollIndex)
print(selected, scrollIndex)