Home > blockly > FieldVariable > fromXml
FieldVariable.fromXml() method
Initialize this field based on the given XML.
Signature:
fromXml(fieldElement: Element): void;
Parameters
| Parameter | Type | Description |
|---|---|---|
| fieldElement | Element | The element containing information about the variable field's state. |
Returns:
void