DOMImplementation

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:

Methods

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

Throws:

null DOMError

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

Throws:

null DOMError

createHTMLDocument (?title:String):HTMLDocument

Throws:

null DOMError

hasFeature (feature:String, version:String):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–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/DOMImplementation.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部