blockly > utils > xml > createTextNode
utils.xml.createTextNode() function
Create text element for XML.
Signature:
export declare function createTextNode(text: string): Text;
Parameters
Parameter | Type | Description |
---|---|---|
text | string | Text content. |
Returns:
Text
New DOM text node.