Skip to main content

Home > blockly > Events > ToolboxItemSelect

Events.ToolboxItemSelect class

Notifies listeners that a toolbox item has been selected.

Signature:

export declare class ToolboxItemSelect extends UiBase 

Extends: UiBase

Constructors

ConstructorModifiersDescription
(constructor)(opt_oldItem, opt_newItem, opt_workspaceId)Constructs a new instance of the ToolboxItemSelect class

Properties

PropertyModifiersTypeDescription
newItem?string(Optional) The newly selected toolbox item.
oldItem?string(Optional) The previously selected toolbox item.
typeEventType

Methods

MethodModifiersDescription
toJson()Encode the event as JSON.