add context menu button image

This commit is contained in:
Luke committed 2022-11-28 18:49:44 +01:00
1 parent 923618ab30
commit ab3b412c93
1 file changed
+2
+2
View File
@@ -55,6 +55,8 @@ lib.registerContext(context)
* Shows an arrow on the right side like `menu` does, useful when you are opening a menu from an event. Can be set to false to hide it.
* description?: `string`
* Description that will appear under the button title that is defined as a key.
* image?: `string`
* Url to an image that will be displayed in the button's metadata.
* metadata?: `string[]` or `object` or `array`
* Information that will display on the side upon hovering a button.
* event?: `string`