แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > BlockSvg > setMutator
เมธอด BlockSvg.setMutator()
กำหนดกล่องโต้ตอบ Mutator ให้บล็อกนี้
ลายเซ็น:
setMutator(mutator: MutatorIcon | null): void;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
Mutator |
MutatorIcon | ค่าว่าง |
อินสแตนซ์กล่องโต้ตอบ Mullator หรือ Null ที่จะนำออก |
การคืนสินค้า:
เป็นโมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-11 UTC
[null,null,["อัปเดตล่าสุด 2024-09-11 UTC"],[[["The `BlockSvg.setMutator()` method assigns a mutator dialog to a specific block, enabling users to modify its internal structure or properties."],["This method accepts a `MutatorIcon` instance as an argument, which represents the visual element and functionality of the mutator dialog, or `null` to remove any existing mutator."],["Calling `setMutator()` with a `MutatorIcon` instance makes the block mutable and allows users to interact with the dialog to adjust its behavior or appearance."]]],[]]