Document: {
    prototype: Document;
    parseHTMLUnsafe(html: string): Document;
    new (): Document;
}

Type Declaration

  • prototype: Document
  • parseHTMLUnsafe: function
    • The parseHTMLUnsafe() static method of the Document object is used to parse an HTML input, optionally filtering unwanted HTML elements and attributes, in order to create a new Document instance.

      MDN Reference

      Parameters

      • html: string

      Returns Document