feat(web/menu): tooltip description support

This commit is contained in:
Luke
2022-08-01 12:03:00 +02:00
committed by Luke
parent 4236dd2bfd
commit 7b147b04fc
2 changed files with 59 additions and 39 deletions

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)