Sets whether the button is disabled.
Returns this button.
Usage | Returns |
---|---|
Button.setDisabled(disabled) | ui.Button |
Argument | Type | Details |
---|---|---|
this: ui.button | ui.Button | The ui.Button instance. |
disabled | Boolean | Whether the button is disabled. |
Examples
JavaScript
// Your example goes here!
Python
# Your example goes here!