Skip to main content

blockly > Toolbox > addToolboxItem_

Toolbox.addToolboxItem_() method

Adds an item to the toolbox.

Signature:

protected addToolboxItem_(toolboxItem: IToolboxItem): void;

Parameters

Parameter

Type

Description

toolboxItem

IToolboxItem

The item in the toolbox.

Returns:

void