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 > biểu tượng > MutatorIcon > updateCollapsed
Phương thức icon.MutatorIcon.updateUpdatedd()
Chữ ký:
updateCollapsed(): 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 `updateCollapsed()` method, belonging to the `MutatorIcon` class within the `icons` namespace of Blockly, is responsible for updating the visual state of the mutator icon to reflect whether the associated block is collapsed or expanded."],["This method does not accept any arguments and does not return any value, simply performing the visual update of the icon to match the block's collapsed state."]]],["The `updateCollapsed()` method, part of the `MutatorIcon` class within the Blockly icons namespace, is designed to update the collapsed state. It takes no parameters and returns void, indicating it performs an action rather than returning a value. The primary function of this method is to modify the visual representation of the mutator icon based on the current collapse status.\n"]]