feat(web/menu): tooltip description support

This commit is contained in:
Luke authored and Luke committed 2022-08-04 15:04:49 +02:00
1 parent 4236dd2bfd
commit 7b147b04fc
2 files changed
+59 -39

No files matched your search

+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)