blockly > Toolbox > getPreviouslySelectedItem
Toolbox.getPreviouslySelectedItem() method
Gets the previously selected item.
Signature:
getPreviouslySelectedItem(): ISelectableToolboxItem | null;
Returns:
ISelectableToolboxItem | null
The previously selected item, or null if no item was previously selected.