interface Element {
    attrs: Attribute[];
    childNodes: ChildNode[];
    namespaceURI: NS;
    nodeName: string;
    parentNode: null | ParentNode;
    sourceCodeLocation?: null | ElementLocation;
    tagName: string;
}

Hierarchy

Properties

attrs: Attribute[]

List of element attributes.

childNodes: ChildNode[]

The node's children.

namespaceURI: NS

Element namespace.

nodeName: string

Element tag name. Same as tagName.

parentNode: null | ParentNode

Parent node.

sourceCodeLocation?: null | ElementLocation

Element source code location info, with attributes. Available if location info is enabled.

tagName: string

Element tag name. Same as nodeName.

Generated using TypeDoc