Stay organized with collections Save and categorize content based on your preferences.

blockly > utils > toolbox > parseToolboxTree

utils.toolbox.parseToolboxTree() function

Parse the provided toolbox tree into a consistent DOM format.


export declare function parseToolboxTree(toolboxDef: Element | null | string): Element | null;


Parameter Type Description
toolboxDef Element | null | string DOM tree of blocks, or text representation of same.


Element | null

DOM tree of blocks, or null.