Element node with textual content

interface TextElement {
    attributes?: ElementAttributes;
    children: Text;
    name: string;
    namespace?: string | URL;
    type: "element";
}

Hierarchy (view full)

Properties

attributes?: ElementAttributes
children: Text
name: string
namespace?: string | URL
type: "element"