blockly > IToolbox > getSelectedItem

เมธอด IToolbox.getSelectedItem()

รับรายการที่เลือก

ลายเซ็น:

getSelectedItem(): IToolboxItem | null;

ส่งกลับ:

IToolboxItem | ไม่มีข้อมูล

รายการที่เลือก หรือ Null หากไม่มีการเลือกรายการในขณะนั้น