แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > icon > CommentIcon > updateEditable
อัปเดตสถานะของฟอง (แก้ไขได้/แก้ไขไม่ได้) ให้สอดคล้องกับสถานะของฟองหากฟองแสดงอยู่ในปัจจุบัน
ลายเซ็น:
updateEditable(): Promise<void>;
การคืนสินค้า:
Promise<void>
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-04 UTC
[null,null,["อัปเดตล่าสุด 2024-11-04 UTC"],[[["The `updateEditable()` method refreshes the visual state of a comment bubble to accurately reflect whether it's editable or not, but only if the bubble is currently visible."],["This method is part of the `CommentIcon` class within Blockly's icons namespace and returns a Promise that resolves when the update is complete."]]],["The `updateEditable()` method, part of the `CommentIcon` class within the `icons` namespace, is designed to modify the editability state of a comment bubble. This method ensures the bubble's display (editable or non-editable) matches its current state. It returns a Promise that resolves with no value (`void`) once the update is complete. It is triggered only if the comment bubble is visible.\n"]]