DOMImplementation

Overview

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

Location

Required Methods


hasFeature

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.

 

method hasFeature(parfeature: dynamic; parversion: dynamic): Boolean

 

Boolean hasFeature(dynamic parfeature, dynamic parversion)

 

func hasFeature(_ parfeature: dynamic, _ parversion: dynamic) -> Boolean

 

Boolean hasFeature(dynamic parfeature, dynamic parversion)

 

Function hasFeature(parfeature As dynamic, parversion As dynamic) As Boolean

Parameters:

  • parfeature:
  • parversion: