pseudo-dom
    Preparing search index...

    Function parseHTML

    • Parse an HTML string into the nodes it describes (siblings at the top level, exactly like the DOM's own HTML parsing does for innerHTML / insertAdjacentHTML - there is no single root unless the markup itself has one).

      Parameters

      • html: string
      • ownerDocument: any

        The document the new nodes belong to (matches what innerHTML etc. would set), or null

      • ElementClass: new (options: { tagName: string }) => any

        The class to build each parsed element with

      Returns any[]