Type alias ElementNode

ElementNode: {
    attributes: ObjAttr[];
    children: Node[];
    tagName: Tag;
    type: "element";
}

Type declaration

  • attributes: ObjAttr[]

    The attributes of the node.

  • children: Node[]

    The children of the node.

  • tagName: Tag

    The HTML tag name.

  • type: "element"

    The type of the node.

Generated using TypeDoc v0.25.6