W3cubDocs

/Haxe JavaScript

DOMImplementation

package js.html

Available on js

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

Documentation DOMImplementation by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Methods

createDocument(namespace:String, qualifiedName:String, ?doctype:DocumentType):HTMLDocument

Creates and returns an XMLDocument.

Throws:

null

DOMError

createDocumentType(qualifiedName:String, publicId:String, systemId:String):DocumentType

Creates and returns a DocumentType.

Throws:

null

DOMError

createHTMLDocument(?title:String):HTMLDocument

Creates and returns an HTML Document.

Throws:

null

DOMError

hasFeature():Bool

Returns a Boolean indicating if a given feature is supported or not. This function is unreliable and kept for compatibility purpose alone: except for SVG-related queries, it always returns true. Old browsers are very inconsistent in their behavior.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMImplementation.html