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, qualifiedName, doctype?): XMLDocument;
    createDocumentType(qualifiedName, publicId, systemId): DocumentType;
    createHTMLDocument(title?): Document;
    hasFeature(...args): true;
}

Methods

  • Parameters

    • namespace: string
    • qualifiedName: string
    • Optional doctype: DocumentType

    Returns XMLDocument

  • Parameters

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

    Returns DocumentType

  • Parameters

    • Optional title: string

    Returns Document

  • Parameters

    • Rest ...args: any[]

    Returns true

    Deprecated

Generated using TypeDoc