Skip to main content

blockly > Toolbox > attachEvents_

Toolbox.attachEvents_() method

Adds event listeners to the toolbox container div.

Signature:

protected attachEvents_(container: HTMLDivElement, contentsContainer: HTMLDivElement): void;

Parameters

Parameter

Type

Description

container

HTMLDivElement

The HTML container for the toolbox.

contentsContainer

HTMLDivElement

The HTML container for the contents of the toolbox.

Returns:

void