All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elemental2.dom.DOMImplementation Maven / Gradle / Ivy

There is a newer version: 1.0.139
Show newest version
package elemental2.dom;

import elemental2.core.JsObject;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class DOMImplementation {
  public native Document createDocument(String namespaceURI, String publicId, DocumentType doctype);

  public native DocumentType createDocumentType(
      String qualifiedName, String publicId, String systemId);

  public native HTMLDocument createHTMLDocument();

  public native HTMLDocument createHTMLDocument(String title);

  public native JsObject getFeature(String feature, String version);

  public native boolean hasFeature(String feature, String version);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy