Skip to main content

Home > blockly > Events > ToolboxItemSelect > (constructor)

Events.ToolboxItemSelect.(constructor)

Constructs a new instance of the ToolboxItemSelect class

Signature:

constructor(opt_oldItem?: string | null, opt_newItem?: string | null, opt_workspaceId?: string);

Parameters

ParameterTypeDescription
opt_oldItemstring | null(Optional) The previously selected toolbox item. Undefined for a blank event.
opt_newItemstring | null(Optional) The newly selected toolbox item. Undefined for a blank event.
opt_workspaceIdstring(Optional) The workspace identifier for this event. Undefined for a blank event.