blockly > Variables > generateVariableFieldDom
Variables.generateVariableFieldDom() function
Generate DOM objects representing a variable field.
Signature:
export declare function generateVariableFieldDom(variableModel: VariableModel): Element;
Parameters
Parameter | Type | Description |
---|---|---|
variableModel | VariableModel | The variable model to represent. |
Returns:
Element
The generated DOM.