Skip to main content

blockly > Toolbox > renderContents_

Toolbox.renderContents_() method

Adds all the toolbox items to the toolbox.

Signature:

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

Parameters

Parameter

Type

Description

toolboxDef

toolbox.ToolboxItemInfo[]

Array holding objects containing information on the contents of the toolbox.

Returns:

void