Skip to main content

Home > blockly > Toolbox > attachEvents_

Toolbox.attachEvents_() method

Adds event listeners to the toolbox container div.

Signature:

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

Parameters

ParameterTypeDescription
containerHTMLDivElementThe HTML container for the toolbox.
contentsContainerHTMLDivElementThe HTML container for the contents of the toolbox.

Returns:

void