Interface DOMImplementation

    An object providing methods which are not dependent on any particular document. Such an object is returned by the Document.implementation property.

    MDN Reference

    interface DOMImplementation {
        createDocument(
            namespace: string,
            qualifiedName: string,
            doctype?: DocumentType,
        ): XMLDocument;
        createDocumentType(
            qualifiedName: string,
            publicId: string,
            systemId: string,
        ): DocumentType;
        createHTMLDocument(title?: string): Document;
        hasFeature(...args: any[]): true;
    }

    Methods

    • Parameters

      • qualifiedName: string
      • publicId: string
      • systemId: string

      Returns DocumentType

    • Parameters

      • ...args: any[]

      Returns true

      MDN Reference