@tempots/dom

DOMContext.createText property

Creates a new text node with the specified text content.

Signature:

readonly createText: (text: string) => Text;