ui.Checkbox.setValue

Sets whether the checkbox is checked.

Returns this checkbox.

UsageReturns
Checkbox.setValue(value, trigger)ui.Checkbox
ArgumentTypeDetails
this: ui.checkboxui.Checkbox

The ui.Checkbox instance.

valueBoolean

Whether the checkbox is checked. A null value indicates the checkbox is in an indeterminate state.

triggerBoolean, optional

Whether to trigger onChange callbacks when the checked property changes. Defaults to true.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!