تمثّل هذه السمة تصنيف مربّع الاختيار. القيمة التلقائية هي سلسلة فارغة.
value
قيمة منطقية، اختيارية
تُستخدَم لتحديد ما إذا كان مربّع الاختيار محدّدًا. تشير القيمة الفارغة إلى أنّ مربّع الاختيار في حالة غير محدّدة. القيمة التلقائية هي "خطأ".
onChange
الدالة، اختيارية
دالة ردّ يتم تنشيطها عند تغيير قيمة مربّع الاختيار. يتم تمرير دالة معاودة الاتصال بقيمة منطقية تشير إلى ما إذا كان مربّع الاختيار محدّدًا الآن، بالإضافة إلى التطبيق المصغّر لمربّع الاختيار.
disabled
قيمة منطقية، اختيارية
تحديد ما إذا كان مربّع الاختيار غير مفعّل. القيمة التلقائية هي "خطأ".
style
الكائن، اختياري
كائن يتضمّن أنماط CSS المسموح بها مع قيمها التي سيتم ضبطها لهذه الأداة. راجِع مستندات style().
تاريخ التعديل الأخير: 2025-07-29 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-29 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]