Thông báo: Tất cả dự án phi thương mại đã đăng ký sử dụng Earth Engine trước ngày 15 tháng 4 năm 2025 phải xác minh điều kiện sử dụng phi thương mại để duy trì quyền truy cập vào Earth Engine.
Nhãn của hộp đánh dấu. Giá trị mặc định là một chuỗi trống.
value
Boolean, không bắt buộc
Hộp đánh dấu có được đánh dấu hay không. Giá trị rỗng cho biết hộp đánh dấu đang ở trạng thái không xác định. Giá trị mặc định là false.
onChange
Hàm, không bắt buộc
Một lệnh gọi lại sẽ kích hoạt khi giá trị của hộp đánh dấu thay đổi. Lệnh gọi lại được truyền một giá trị boolean cho biết liệu hộp đánh dấu hiện có được đánh dấu hay không và tiện ích hộp đánh dấu.
disabled
Boolean, không bắt buộc
Hộp đánh dấu có bị vô hiệu hoá hay không. Giá trị mặc định là false.
style
Đối tượng, không bắt buộc
Một đối tượng gồm các kiểu CSS được phép có giá trị sẽ được đặt cho tiện ích này. Xem tài liệu style().
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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"]]