Skip to main content

Home > blockly > Toolbox > renderContents_

Toolbox.renderContents_() method

Adds all the toolbox items to the toolbox.

Signature:

protected renderContents_(toolboxDef: toolbox.ToolboxItemInfo[]): void;

Parameters

ParameterTypeDescription
toolboxDeftoolbox.ToolboxItemInfo[]Array holding objects containing information on the contents of the toolbox.

Returns:

void