Flyweight DOM - v2.3.0
    Preparing search index...

    Interface ParentNode

    The node that can be a parent of another node.

    Node on MDN

    interface ParentNode {
        childElementCount: number;
        children: NodeList<Element>;
        firstChild: null | ChildNode;
        firstElementChild: null | Element;
        lastChild: null | ChildNode;
        lastElementChild: null | Element;
        nextSibling: null | ChildNode;
        nodeName: string;
        nodeType: number;
        parentNode: null | ParentNode;
        previousSibling: null | ChildNode;
        get childNodes(): NodeList;
        get nodeValue(): null | string;
        set nodeValue(value: null | string): void;
        get parentElement(): null | Element;
        get textContent(): null | string;
        set textContent(value: null | string): void;
        append(...nodes: (string | Node)[]): this;
        appendChild<T extends Node>(node: T): T;
        cloneNode(deep?: boolean): ParentNode;
        contains(node: undefined | null | Node): boolean;
        hasChildNodes(): boolean;
        insertBefore<T extends Node>(node: T, child: undefined | null | Node): T;
        isEqualNode(otherNode: undefined | null | Node): boolean;
        prepend(...nodes: (string | Node)[]): this;
        removeChild<T extends Node>(child: T): T;
        replaceChild<T extends Node>(node: Node, child: T): T;
        replaceChildren(...nodes: (string | Node)[]): this;
    }

    Hierarchy (View Summary)

    Index

    Properties

    childElementCount: number
    children: NodeList<Element>

    Element.children on MDN

    firstChild: null | ChildNode = null

    Node.firstChild on MDN

    firstElementChild: null | Element
    lastChild: null | ChildNode = null

    Node.lastChild on MDN

    lastElementChild: null | Element
    nextSibling: null | ChildNode = null

    Node.nextSibling on MDN

    nodeName: string

    Node.nodeName on MDN

    nodeType: number

    Node.nodeType on MDN

    parentNode: null | ParentNode = null

    Node.parentNode on MDN

    previousSibling: null | ChildNode = null

    Accessors

    • get nodeValue(): null | string

      Returns null | string

      Node.nodeValue on MDN

    • set nodeValue(value: null | string): void

      Parameters

      • value: null | string

      Returns void

    Methods

    • Parameters

      • ...nodes: (string | Node)[]

      Returns this

      Element.append on MDN

    • Parameters

      • ...nodes: (string | Node)[]

      Returns this

      Element.prepend on MDN