แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > IToolbox > selectItemByPosition
เลือกรายการกล่องเครื่องมือตามตำแหน่งในรายการกล่องเครื่องมือ
ลายเซ็น:
selectItemByPosition(position: number): void;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
position |
ตัวเลข |
ตําแหน่งของรายการที่จะเลือก |
การคืนสินค้า:
โมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-15 UTC
[null,null,["อัปเดตล่าสุด 2024-10-15 UTC"],[[["The `selectItemByPosition()` method selects an item within the toolbox based on its position in the list."],["It takes one parameter: `position`, which is a number representing the position of the item to be selected."],["Calling this method does not return any value (void)."]]],["The `IToolbox.selectItemByPosition()` method selects a toolbox item based on its numerical position within the list of items. It accepts a single parameter, `position`, which is a number representing the desired item's index. The method returns `void`, indicating it does not return any value upon completion. The action is to choose the toolbox item at the specified position.\n"]]