แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > IToolbox > getWidth
รับความกว้างของกล่องเครื่องมือ
ลายเซ็น:
getWidth(): number;
การคืนสินค้า:
ตัวเลข
ความกว้างของกล่องเครื่องมือ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-20 UTC
[null,null,["อัปเดตล่าสุด 2024-09-20 UTC"],[[["The `getWidth()` method is part of the `IToolbox` interface in Blockly and is used to retrieve the width of the toolbox."],["It returns a numerical value representing the width of the toolbox."]]],["The `getWidth` method, part of the `IToolbox` interface, retrieves the toolbox's width. It is a method that takes no arguments and returns a numerical value. This returned number represents the width of the toolbox in an unspecified unit. The method's signature, `getWidth(): number;`, specifies this structure.\n"]]