blockly > ToolboxCategory > createLabelDom_

ToolboxCategory.createLabelDom_() method

Creates the span that holds the category label. This should have an ID for accessibility purposes.

Signature:

protected createLabelDom_(name: string): Element;

Parameters

Parameter Type Description
name string The name of the category.

Returns:

Element

The span that holds the category label.