Skip to main content

Home > blockly > FieldVariable > fromXml

FieldVariable.fromXml() method

Initialize this field based on the given XML.

Signature:

fromXml(fieldElement: Element): void;

Parameters

ParameterTypeDescription
fieldElementElementThe element containing information about the variable field's state.

Returns:

void