createTextNode method

Text createTextNode(
  1. String data
)

Creates a new Text node. This method can be used to escape HTML characters.

Implementation

external Text createTextNode(String data);