blockly > Xml > domToVariables

Xml.domToVariables() function

Decode an XML list of variables and add the variables to the workspace.

Signature:

export declare function domToVariables(xmlVariables: Element, workspace: Workspace): void;

Parameters

Parameter Type Description
xmlVariables Element List of XML variable elements.
workspace Workspace The workspace to which the variable should be added.

Returns:

void