Etykieta pola wyboru. Domyślnie jest to pusty ciąg znaków.
value
Wartość logiczna, opcjonalna
Czy pole wyboru jest zaznaczone. Wartość null oznacza, że pole wyboru jest w stanie nieokreślonym. Wartość domyślna to fałsz.
onChange
Funkcja (opcjonalnie)
Wywołanie, które ma zostać uruchomione, gdy zmieni się wartość pola wyboru. Funkcja zwrotna otrzymuje wartość logiczną wskazującą, czy pole wyboru jest teraz zaznaczone, oraz widżet pola wyboru.
disabled
Wartość logiczna, opcjonalna
Określa, czy pole wyboru jest wyłączone. Wartość domyślna to fałsz.
style
Obiekt (opcjonalnie)
Obiekt dozwolonych stylów CSS z wartościami, które mają być ustawione dla tego widżetu. Zobacz dokumentację funkcji style().
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-29 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."]]],["The core content describes a `ui.Checkbox` widget, its usage, and its arguments. It can be created using `ui.Checkbox()` and allows for a `label`, a boolean `value` (checked/unchecked/indeterminate), an `onChange` callback function, a `disabled` state, and custom `style`. The `onChange` callback receives the new boolean state and the widget itself. Each parameter is optional and has default values.\n"]]