blockly > WorkspaceSvg > updateToolbox

Méthode WorkspaceSvg.updateToolbox()

Modifiez l'arborescence de blocs dans la boîte à outils existante.

Signature :

updateToolbox(toolboxDef: toolbox.ToolboxDefinition | null): void;

Paramètres

Paramètres Type Description
toolboxDef toolbox.ToolboxDefinition | null Arborescence DOM du contenu de la boîte à outils, chaîne de contenu de la boîte à outils ou fichier JSON représentant sa définition.

Renvoie :

void