Get the Newsletter

createTextNode

A Method

createTextNode(text: string): Text

Creates a new Text node.

Parameters

text: string
A string to populate the new Text node.

Returns

A Text node.