DOMImplementation

@native @JSGlobal @JSType
class DOMImplementation extends Object

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.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def createDocument(namespaceURI: String, qualifiedName: String, doctype: DocumentType): Document

« DOM Reference « DOMImplementation

« DOM Reference « DOMImplementation

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

« DOM Reference « DOMImplementation

« DOM Reference « DOMImplementation

def createHTMLDocument(title: String): Document

Creates and returns an HTML Document.

Creates and returns an HTML Document.

def hasFeature(feature: String, version: String): Boolean
def hasFeature(feature: String): Boolean

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.

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.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object