Function: domToVariables()
function domToVariables(xmlVariables, workspace): void;
Defined in: packages/blockly/core/xml.ts:696
Decode an XML list of variables and add the variables to the workspace.
Parameters
| Parameter | Type | Description |
|---|---|---|
xmlVariables | Element | List of XML variable elements. |
workspace | Workspace | The workspace to which the variable should be added. |
Returns
void