แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > กล่องเครื่องมือ > selectItem_
เลือกรายการ ทําเครื่องหมายที่รายการที่เลือกไว้ และอัปเดตสถานะ ARI
ลายเซ็น:
protected selectItem_(oldItem: ISelectableToolboxItem | null, newItem: ISelectableToolboxItem): void;
พารามิเตอร์
การคืนสินค้า:
เป็นโมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-22 UTC
[null,null,["อัปเดตล่าสุด 2024-08-22 UTC"],[[["`Toolbox.selectItem_()` is a protected method used for managing the selection state within a Blockly toolbox."],["It takes two arguments: `oldItem` representing the previously selected item and `newItem` representing the item to be selected."],["This method updates the visual and accessibility states of the toolbox by marking the `newItem` as selected and updating ARIA attributes accordingly."],["The method does not return any value (void)."]]],["The `selectItem_` method within the Toolbox class is used to manage the selection of items within a toolbox. It takes two parameters: `oldItem`, representing the previously selected item (or null), and `newItem`, the item now being selected. The method's actions involve marking `newItem` as selected and updating its associated ARIA (Accessible Rich Internet Applications) state. This method returns no values (void).\n"]]