blockly > ToolboxCategory > parseContents_

ToolboxCategory.parseContents_() method

Parses the contents array depending on if the category is a dynamic category, or if its contents are meant to be shown in the flyout.

Signature:

protected parseContents_(categoryDef: CategoryInfo): void;

Parameters

Parameter Type Description
categoryDef CategoryInfo The information needed to create a category.

Returns:

void