Type Alias Mods

Mods: {
    getAttr: GetAttr;
    getChild: GetChild;
    getText: GetText;
}

Additional methods for node manipulation.

Type declaration

  • getAttr: GetAttr

    Chain function to get the value of an attribute.

  • getChild: GetChild

    Chain function to find a node in the children array.

  • getText: GetText

    Property with the text in the node.