ui.Button.setDisabled

Sets whether the button is disabled.

Returns this button.

UsageReturns
Button.setDisabled(disabled)ui.Button
ArgumentTypeDetails
this: ui.buttonui.Button

The ui.Button instance.

disabledBoolean

Whether the button is disabled.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!