Skip to main content

Home > blockly > Xml > variablesToDom

Xml.variablesToDom() function

Encode a list of variables as XML.

Signature:

export declare function variablesToDom(variableList: IVariableModel<IVariableState>[]): Element;

Parameters

ParameterTypeDescription
variableListIVariableModel<IVariableState>[]List of all variable models.

Returns:

Element

Tree of XML elements.