ChemPare Documentation - v0.0.0
    Preparing search index...

    Function createDOM

    • Converts an HTML string to a DOM Document object.

      Parameters

      • html: string

        The HTML string to convert

      Returns Document

      A DOM Document object

      const doc = createDOM("<html><body><h1>Hello, world!</h1></body></html>");
      // Returns: Document object