blockly > utils > xml > createElement
utils.xml.createElement() function
Create DOM element for XML.
Signature:
export declare function createElement(tagName: string): Element;
Parameters
Parameter | Type | Description |
---|---|---|
tagName | string | Name of DOM element. |
Returns:
Element
New DOM element.