@tempots/dom

TextNode() function

Creates a renderable text node.

Signature:

TextNode: (value: Value<string>) => Renderable

Parameters

Parameter

Type

Description

value

Value

The value of the text node.

Returns: Renderable

A renderable text node.