แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > BlockSvg > initSvg
เมธอด BlockSvg.initSvg()
สร้างและเริ่มต้นการแสดง SVG ของบล็อก อาจมีการโทรมากกว่า 1 ครั้ง
ลายเซ็น:
initSvg(): void;
การคืนสินค้า:
เป็นโมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-21 UTC
[null,null,["อัปเดตล่าสุด 2024-08-21 UTC"],[[["This method, `initSvg()`, is responsible for creating and initializing the SVG (Scalable Vector Graphics) elements that visually represent a block within a Blockly workspace."],["It's designed to be called multiple times without causing issues, ensuring the visual representation of the block remains updated."],["Calling `initSvg()` has no return value, meaning it performs its actions directly without providing any specific output to the calling code."]]],[]]