@tempots/dom

DOMContext.getText() method

Gets the text content of the current element or text node.

Signature:

getText(): string;

Returns: string

The text content of the current element or text node.