disabled context menu button

This commit is contained in:
Luke committed 2022-11-19 12:20:30 +01:00
1 parent dad03c004a
commit b9233eca2d
1 file changed
+3 -1
+3 -1
View File
@@ -40,7 +40,9 @@ lib.registerContext(context)
* options: `table` (`object` or `array`)
* item: `key` (`string`) or `table` (`object`)
* title?: `string`
* If not using keys then sets the title for the button.
* If not using keys then sets the title for the button.
* disabled?: `boolean`
* Grays out the button and makes it unclickable.
* menu?: `string`
* Menu identifier that the button will take you to, when defined an arrow.
* onSelect: `function`