[Menu] Progress Bars - ox_lib PR 166 (#78)

* Update menu.md

* Update menu.md

* Update context.md

* Update context.md
This commit is contained in:
ItsANoBrainer authored and GitHub committed 2022-12-04 22:41:10 +01:00
1 parent 35b0cf739e
commit af697ebafe
2 files changed
+10

No files matched your search

+4
View File
@@ -32,7 +32,10 @@ lib.registerMenu(data, cb)
* title: `string`
* options: `table` (`array`)
* label: `string`
* progress?: `number`
* colorScheme?: `string`
* icon?: `string`
* iconColor?: `string`
* values?: `table` (`Array<string | {label: string; description: string}>`)
* If provided creates a side scrollabel list.
* When using object and setting description, the set description will be displayed in the menu tooltip.
@@ -294,3 +297,4 @@ RegisterCommand('testmenu', () => {
</Tabs>
![Example](https://i.imgur.com/eIdWZ4c.png)
![Example2](https://i.imgur.com/GxNetwe.png)