Skip to main content

blockly > ToolboxSeparator > (constructor)

ToolboxSeparator.(constructor)

Constructs a new instance of the ToolboxSeparator class

Signature:

constructor(separatorDef: toolbox.SeparatorInfo, toolbox: IToolbox);

Parameters

Parameter

Type

Description

separatorDef

toolbox.SeparatorInfo

The information needed to create a separator.

toolbox

IToolbox

The parent toolbox for the separator.