Update lib information and examples

This commit is contained in:
Luke committed 2022-05-10 11:30:48 +02:00
1 parent 4cc2aa440b
commit 8972054319
4 files changed
+24 -23

No files matched your search

+11 -1
View File
@@ -134,4 +134,14 @@ As of the time writing this the buttons are sorted **alphabetically**.
![menu_example](https://i.imgur.com/aJu92dv.png)
![metadata](https://i.imgur.com/kFGSlBF.png)
![event_menu](https://i.imgur.com/r0Ln4VP.png)
![event_menu](https://i.imgur.com/r0Ln4VP.png)
### lib.getOpenContextMenu
Returns the id of the currently open context menu.
If not context menu is open returns `nil`.
```lua
lib.getOpenContextMenu()
```