@tempots/dom

renderableOfTNode() function

Converts a TNode into a Renderable.

Signature:

renderableOfTNode: (child: TNode) => Renderable

Parameters

Parameter

Type

Description

child

TNode

The TNode to convert.

Returns: Renderable

The corresponding Renderable.