Bản khảo sát nghiên cứu: Cho chúng tôi biết trải nghiệm của bạn khi sử dụng Blockly
Bắt đầu khảo sát
chặn > ISelectable > chọn
Phương thức ISelectable.select()
Chọn mục này. Làm nổi bật sản phẩm bằng hình ảnh.
Chữ ký:
select(): void;
Trường hợp trả lại hàng:
void
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-09-11 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-09-11 UTC."],[[["The `select()` method is part of the `ISelectable` interface in Blockly and is used to visually highlight a selectable element."],["This method has no parameters and does not return any value, simply applying a visual selection to the element it's called on."],["By invoking `select()` on an object implementing `ISelectable`, developers trigger the visual highlighting, signaling its selection status to the user."]]],["The `ISelectable.select()` method is designed to visually highlight an object. Its core function is to select the current object, changing its appearance to indicate that it is currently selected. This method takes no parameters and does not return any value (void). The primary action is to visually select and highlight the object when the method is invoked.\n"]]