blockly > टूलबॉक्स > getSelectedItem
Toolbox.getSelectedItem() मेथड
चुना गया आइटम मिलता है.
हस्ताक्षर:
getSelectedItem(): ISelectableToolboxItem | null;
सामान लौटाना:
ISelectableToolboxItem | शून्य
चुना गया आइटम या अगर कोई आइटम फ़िलहाल नहीं चुना गया है, तो शून्य है.