The checkbox's label. Defaults to an empty string.
value
Boolean, optional
Whether the checkbox is checked. A null value indicates that the checkbox is in an indeterminate state. Defaults to false.
onChange
Function, optional
A callback to fire when the value of the checkbox changes. The callback is passed a boolean indicating whether the checkbox is now checked and the checkbox widget.
disabled
Boolean, optional
Whether the checkbox is disabled. Defaults to false.
style
Object, optional
An object of allowed CSS styles with their values to be set for this widget. See style() documentation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["The `ui.Checkbox` widget is used to create a checkbox with a label, allowing users to select or deselect an option."],["It can be initialized with optional parameters for label, value, onChange callback, disabled state, and custom styles."],["The `onChange` callback is triggered when the checkbox value changes, providing access to the new checked state and the checkbox widget itself."],["`value` can be set to `null` to represent an indeterminate state, while `disabled` and `style` parameters offer control over the widget's interactivity and appearance."]]],[]]