ui.Checkbox.setValue

Stay organized with collections Save and categorize content based on your preferences.

Sets whether the checkbox is checked.

Returns this checkbox.

UsageReturns
Checkbox.setValue(value, trigger)ui.Checkbox
ArgumentTypeDetails
this: ui.checkboxui.CheckboxThe ui.Checkbox instance.
valueBooleanWhether the checkbox is checked. A null value indicates the checkbox is in an indeterminate state.
triggerBoolean, optionalWhether to trigger onChange callbacks when the checked property changes. Defaults to true.