createTextNode(text: string): Text
Creates a new Text node.
Parameters
text: string
A string to populate the new Text node.
Returns
A Text node.
createTextNode(text: string): Text
Creates a new Text node.