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

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

Methods

  • Parameters

    • namespace: null | string
    • qualifiedName: null | string
    • Optionaldoctype: null | DocumentType

    Returns XMLDocument

  • Parameters

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

    Returns DocumentType

  • Parameters

    • Optionaltitle: string

    Returns Document

  • Parameters

    • Rest...args: any[]

    Returns true