2021-03-07 05:58:59 +01:00

96 lines
105 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en"><!-- use theme color or fallback -->
<!--use textcolor from settings, otherwise create a contrasting color to theme color-->
<head><meta charset="utf-8"/><link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet"/><link href="../../bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet"/><link href="../../bootstrap/css/bootstrap-select.min.css" rel="stylesheet"/><link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700,700italic,400italic" rel="stylesheet" type="text/css"/><link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,600,600italic,400" rel="stylesheet" type="text/css"/><link href="http://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css" rel="stylesheet" type="text/css"/><script src="../../jquery-1.9.1.min.js"></script><script src="../../bootstrap/js/bootstrap.min.js"></script><script src="../../bootstrap/js/bootstrap-select.min.js"></script><link href="../../styles.css" rel="stylesheet"/><link href="../../haxe-nav.css" rel="stylesheet"/><script type="text/javascript">var dox = {rootPath: "../../",platforms: ["Neko","Android","Flash","iOS","macOS","Linux","HTML5","Windows"]};</script><script type="text/javascript" src="../../nav.js"></script><script type="text/javascript" src="../../index.js"></script><link rel="icon" href="../../favicon.ico" type="image/x-icon"></link><title>js.html.Document - API Reference</title><meta name="description" content="The &lt;code&gt;&lt;a href="../../js/html/Document.html"&gt;Document&lt;/a&gt;&lt;/code&gt; interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. The DOM tree includes elements such as &lt;code&gt;body&lt;/code&gt; and &lt;code&gt;table&lt;/code&gt;, among many others. It provides functionality global to the document, like how to obtain the page's URL and create new elements in the document."/></head><body><style>
a, code .type {
color: #24afc4;
}
.navbar .brand {
display: inline-block;
float: none;
text-shadow: 0 0 0 transparent;
}
.nav-list>.active>a.treeLink, .nav-list>.active>a.treeLink:hover, .nav-list>.active>a.treeLink:focus {
background: #24afc4;
color: #ffffff;
text-shadow: 0 0 0 transparent;
}
.navbar .container {
width: 940px ;
}
@media (max-width: 767px) {
.navbar .container {
width: auto;
}
}
@media (max-width: 979px) and (min-width: 768px) {
.navbar .container {
width: 724px;
}
}
@media (min-width: 1200px) {
.navbar .container {
width: 1170px;
}
}
.navbar .container img {
margin: 5px 0 0 4px;
}
</style><nav class="nav"><div class="navbar"><div class="navbar-inner" style="background:#FAFAFA; border-bottom:1px solid rgba(0,0,0,.09)"><div class="container"><a class="brand" href="http://www.openfl.org"><img alt="" src="http://www.openfl.org/images/logo.png"/></a><a class="brand" style="color:#777777" href="../../">API Reference</a></div></div></div></nav><div class="container main-content"><div class="row-fluid"><div class="span3"><div class="well sidebar-nav"><form class="form-search" id="searchForm"><div class="input-prepend input-block-level"><span class="add-on"><i class="icon-search"></i></span><input id="search" type="text" placeholder="Search" autocomplete="off"/></div></form><div class="dropdown"><select id="select-platform" class="selectpicker" title="Filter by platform" data-width="100%"><option value="all" selected="true">All Platforms</option><option>Neko</option><option>Android</option><option>Flash</option><option>iOS</option><option>macOS</option><option>Linux</option><option>HTML5</option><option>Windows</option></select></div></div><div class="well sidebar-nav"><div id="nav"></div></div></div><div class="span9"><div class="page-header"><h1><small>class</small> Document</h1><h4><small>package <a href="../../js/html/index.html">js.html</a></small></h4><h4><small>extends <a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a> &rsaquo; <a class="type" title="EventTarget is an interface implemented by objects that can receive events and may have listeners for them." href="../../js/html/EventTarget.html">EventTarget</a></small></h4> <h4><small><span class="muted">extended by </span><a class="type" title="" href="../../js/html/svg/Document.html">Document</a>, <a class="type" title="HTMLDocument is an abstract interface of the DOM which provides access to special properties and methods not present by default on a regular (XML) document." href="../../js/html/HTMLDocument.html">HTMLDocument</a>, <a class="type" title="The XMLDocument interface represent an XML document." href="../../js/html/XMLDocument.html">XMLDocument</a></small></h4><p class="availability"><hr/><em>Available on HTML5</em></p></div><div class="body"><div class="doc doc-main"><div class="indent"><p>The <code><a href="../../js/html/Document.html">Document</a></code> interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree. The DOM tree includes elements such as <code>body</code> and <code>table</code>, among many others. It provides functionality global to the document, like how to obtain the page's URL and create new elements in the document.</p>
<p>Documentation <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document">Document</a> by <a href="https://developer.mozilla.org/en-US/docs/Web/API/Document$history">Mozilla Contributors</a>, licensed under <a href="https://creativecommons.org/licenses/by-sa/2.5/">CC-BY-SA 2.5</a>.</p><p class="javadoc">See:</p><div class="indent inline-content"><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Document">https://developer.mozilla.org/en-US/docs/Web/API/Document</a></p></div></div></div><h3 class="section">Constructor</h3><div class="fields"><div class="field "><a name="new"></a><h3><p><code><a href="#new"><span class="identifier">new</span></a> ()</code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div></div><h3 class="section">Variables</h3><div class="fields"><div class="field "><a name="URL"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#URL"><span class="identifier">URL</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the document location as a string.</p></div></div><div class="field "><a name="activeElement"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#activeElement"><span class="identifier">activeElement</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p>Returns the currently focused element.</p></div></div><div class="field "><a name="characterSet"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#characterSet"><span class="identifier">characterSet</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the character set being used by the document.</p></div></div><div class="field "><a name="charset"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#charset"><span class="identifier">charset</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Alias of <code><a href="../../js/html/Document.html#characterSet">Document.characterSet</a></code>. Use this property instead.</p></div></div><div class="field "><a name="childElementCount"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#childElementCount"><span class="identifier">childElementCount</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="children"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#children"><span class="identifier">children</span></a>:<a class="type" title="The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list." href="../../js/html/HTMLCollection.html">HTMLCollection</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="compatMode"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#compatMode"><span class="identifier">compatMode</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Indicates whether the document is rendered in quirks or strict mode.</p></div></div><div class="field "><a name="contentType"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#contentType"><span class="identifier">contentType</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the Content-Type from the MIME Header of the current document.</p></div></div><div class="field "><a name="currentScript"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#currentScript"><span class="identifier">currentScript</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="defaultView"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#defaultView"><span class="identifier">defaultView</span></a>:<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a></code></p></h3><div class="doc"><p>Returns a reference to the window object.</p></div></div><div class="field "><a name="dir"></a><h3><p><code><a href="../../js/html/Document.html#dir"><span class="identifier">dir</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Gets/sets directionality (rtl/ltr) of the document.</p></div></div><div class="field "><a name="doctype"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#doctype"><span class="identifier">doctype</span></a>:<a class="type" title="The DocumentType interface represents a Node containing a doctype." href="../../js/html/DocumentType.html">DocumentType</a></code></p></h3><div class="doc"><p>Returns the Document Type Definition (DTD) of the current document.</p></div></div><div class="field "><a name="documentElement"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#documentElement"><span class="identifier">documentElement</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p>Returns the <code><a href="../../js/html/Element.html">Element</a></code> that is a direct child of the document. For HTML documents, this is normally the <code>html</code> element.</p></div></div><div class="field "><a name="documentURI"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#documentURI"><span class="identifier">documentURI</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the document location as a string.</p></div></div><div class="field "><a name="firstElementChild"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#firstElementChild"><span class="identifier">firstElementChild</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="fonts"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#fonts"><span class="identifier">fonts</span></a>:<a class="type" title="The FontFaceSet interface of the CSS Font Loading API is an interface for loading font faces and checking their download statuses." href="../../js/html/FontFaceSet.html">FontFaceSet</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="fullscreenElement"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#fullscreenElement"><span class="identifier">fullscreenElement</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="fullscreenEnabled"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#fullscreenEnabled"><span class="identifier">fullscreenEnabled</span></a>:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="hidden"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#hidden"><span class="identifier">hidden</span></a>:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="implementation"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#implementation"><span class="identifier">implementation</span></a>:<a class="type" title="The DOMImplementation interface represent an object providing methods which are not dependent on any particular document." href="../../js/html/DOMImplementation.html">DOMImplementation</a></code></p></h3><div class="doc"><p>Returns the DOM implementation associated with the current document.</p></div></div><div class="field "><a name="inputEncoding"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#inputEncoding"><span class="identifier">inputEncoding</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Alias of <code><a href="../../js/html/Document.html#characterSet">Document.characterSet</a></code>. Use this property instead.</p></div></div><div class="field "><a name="lastElementChild"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#lastElementChild"><span class="identifier">lastElementChild</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="lastModified"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#lastModified"><span class="identifier">lastModified</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the date on which the document was last modified.</p></div></div><div class="field "><a name="lastStyleSheetSet"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#lastStyleSheetSet"><span class="identifier">lastStyleSheetSet</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the name of the style sheet set that was last enabled. Has the value <code>null</code> until the style sheet is changed by setting the value of <code>document.selectedStyleSheetSet</code>.</p></div></div><div class="field "><a name="location"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#location"><span class="identifier">location</span></a>:<a class="type" title="The Location interface represents the location (URL) of the object it is linked to." href="../../js/html/Location.html">Location</a></code></p></h3><div class="doc"><p>Returns the URI of the current document.</p></div></div><div class="field "><a name="onabort"></a><h3><p><code><a href="../../js/html/Document.html#onabort"><span class="identifier">onabort</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onafterscriptexecute"></a><h3><p><code><a href="../../js/html/Document.html#onafterscriptexecute"><span class="identifier">onafterscriptexecute</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>afterscriptexecute</code> event.</p></div></div><div class="field "><a name="onbeforescriptexecute"></a><h3><p><code><a href="../../js/html/Document.html#onbeforescriptexecute"><span class="identifier">onbeforescriptexecute</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>beforescriptexecute</code> event.</p></div></div><div class="field "><a name="onblur"></a><h3><p><code><a href="../../js/html/Document.html#onblur"><span class="identifier">onblur</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oncanplay"></a><h3><p><code><a href="../../js/html/Document.html#oncanplay"><span class="identifier">oncanplay</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oncanplaythrough"></a><h3><p><code><a href="../../js/html/Document.html#oncanplaythrough"><span class="identifier">oncanplaythrough</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onchange"></a><h3><p><code><a href="../../js/html/Document.html#onchange"><span class="identifier">onchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onclick"></a><h3><p><code><a href="../../js/html/Document.html#onclick"><span class="identifier">onclick</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oncontextmenu"></a><h3><p><code><a href="../../js/html/Document.html#oncontextmenu"><span class="identifier">oncontextmenu</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oncopy"></a><h3><p><code><a href="../../js/html/Document.html#oncopy"><span class="identifier">oncopy</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>copy</code> event.</p></div></div><div class="field "><a name="oncut"></a><h3><p><code><a href="../../js/html/Document.html#oncut"><span class="identifier">oncut</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>cut</code> event.</p></div></div><div class="field "><a name="ondblclick"></a><h3><p><code><a href="../../js/html/Document.html#ondblclick"><span class="identifier">ondblclick</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondrag"></a><h3><p><code><a href="../../js/html/Document.html#ondrag"><span class="identifier">ondrag</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragend"></a><h3><p><code><a href="../../js/html/Document.html#ondragend"><span class="identifier">ondragend</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragenter"></a><h3><p><code><a href="../../js/html/Document.html#ondragenter"><span class="identifier">ondragenter</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragleave"></a><h3><p><code><a href="../../js/html/Document.html#ondragleave"><span class="identifier">ondragleave</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragover"></a><h3><p><code><a href="../../js/html/Document.html#ondragover"><span class="identifier">ondragover</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondragstart"></a><h3><p><code><a href="../../js/html/Document.html#ondragstart"><span class="identifier">ondragstart</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondrop"></a><h3><p><code><a href="../../js/html/Document.html#ondrop"><span class="identifier">ondrop</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ondurationchange"></a><h3><p><code><a href="../../js/html/Document.html#ondurationchange"><span class="identifier">ondurationchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onemptied"></a><h3><p><code><a href="../../js/html/Document.html#onemptied"><span class="identifier">onemptied</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onended"></a><h3><p><code><a href="../../js/html/Document.html#onended"><span class="identifier">onended</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onerror"></a><h3><p><code><a href="../../js/html/Document.html#onerror"><span class="identifier">onerror</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onfocus"></a><h3><p><code><a href="../../js/html/Document.html#onfocus"><span class="identifier">onfocus</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onfullscreenchange"></a><h3><p><code><a href="../../js/html/Document.html#onfullscreenchange"><span class="identifier">onfullscreenchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Is an <code>EventHandler</code> representing the code to be called when the <code>fullscreenchange</code> event is raised.</p></div></div><div class="field "><a name="onfullscreenerror"></a><h3><p><code><a href="../../js/html/Document.html#onfullscreenerror"><span class="identifier">onfullscreenerror</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Is an <code>EventHandler</code> representing the code to be called when the <code>fullscreenerror</code> event is raised.</p></div></div><div class="field "><a name="ongotpointercapture"></a><h3><p><code><a href="../../js/html/Document.html#ongotpointercapture"><span class="identifier">ongotpointercapture</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oninput"></a><h3><p><code><a href="../../js/html/Document.html#oninput"><span class="identifier">oninput</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="oninvalid"></a><h3><p><code><a href="../../js/html/Document.html#oninvalid"><span class="identifier">oninvalid</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onkeydown"></a><h3><p><code><a href="../../js/html/Document.html#onkeydown"><span class="identifier">onkeydown</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onkeypress"></a><h3><p><code><a href="../../js/html/Document.html#onkeypress"><span class="identifier">onkeypress</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onkeyup"></a><h3><p><code><a href="../../js/html/Document.html#onkeyup"><span class="identifier">onkeyup</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onload"></a><h3><p><code><a href="../../js/html/Document.html#onload"><span class="identifier">onload</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onloadeddata"></a><h3><p><code><a href="../../js/html/Document.html#onloadeddata"><span class="identifier">onloadeddata</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onloadedmetadata"></a><h3><p><code><a href="../../js/html/Document.html#onloadedmetadata"><span class="identifier">onloadedmetadata</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onloadstart"></a><h3><p><code><a href="../../js/html/Document.html#onloadstart"><span class="identifier">onloadstart</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onlostpointercapture"></a><h3><p><code><a href="../../js/html/Document.html#onlostpointercapture"><span class="identifier">onlostpointercapture</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmousedown"></a><h3><p><code><a href="../../js/html/Document.html#onmousedown"><span class="identifier">onmousedown</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseenter"></a><h3><p><code><a href="../../js/html/Document.html#onmouseenter"><span class="identifier">onmouseenter</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseleave"></a><h3><p><code><a href="../../js/html/Document.html#onmouseleave"><span class="identifier">onmouseleave</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmousemove"></a><h3><p><code><a href="../../js/html/Document.html#onmousemove"><span class="identifier">onmousemove</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseout"></a><h3><p><code><a href="../../js/html/Document.html#onmouseout"><span class="identifier">onmouseout</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseover"></a><h3><p><code><a href="../../js/html/Document.html#onmouseover"><span class="identifier">onmouseover</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onmouseup"></a><h3><p><code><a href="../../js/html/Document.html#onmouseup"><span class="identifier">onmouseup</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpaste"></a><h3><p><code><a href="../../js/html/Document.html#onpaste"><span class="identifier">onpaste</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>paste</code> event.</p></div></div><div class="field "><a name="onpause"></a><h3><p><code><a href="../../js/html/Document.html#onpause"><span class="identifier">onpause</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onplay"></a><h3><p><code><a href="../../js/html/Document.html#onplay"><span class="identifier">onplay</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onplaying"></a><h3><p><code><a href="../../js/html/Document.html#onplaying"><span class="identifier">onplaying</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointercancel"></a><h3><p><code><a href="../../js/html/Document.html#onpointercancel"><span class="identifier">onpointercancel</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerdown"></a><h3><p><code><a href="../../js/html/Document.html#onpointerdown"><span class="identifier">onpointerdown</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerenter"></a><h3><p><code><a href="../../js/html/Document.html#onpointerenter"><span class="identifier">onpointerenter</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerleave"></a><h3><p><code><a href="../../js/html/Document.html#onpointerleave"><span class="identifier">onpointerleave</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerlockchange"></a><h3><p><code><a href="../../js/html/Document.html#onpointerlockchange"><span class="identifier">onpointerlockchange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>pointerlockchange</code> event.</p></div></div><div class="field "><a name="onpointerlockerror"></a><h3><p><code><a href="../../js/html/Document.html#onpointerlockerror"><span class="identifier">onpointerlockerror</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represetnts the event handling code for the <code>pointerlockerror</code> event.</p></div></div><div class="field "><a name="onpointermove"></a><h3><p><code><a href="../../js/html/Document.html#onpointermove"><span class="identifier">onpointermove</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerout"></a><h3><p><code><a href="../../js/html/Document.html#onpointerout"><span class="identifier">onpointerout</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerover"></a><h3><p><code><a href="../../js/html/Document.html#onpointerover"><span class="identifier">onpointerover</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onpointerup"></a><h3><p><code><a href="../../js/html/Document.html#onpointerup"><span class="identifier">onpointerup</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onprogress"></a><h3><p><code><a href="../../js/html/Document.html#onprogress"><span class="identifier">onprogress</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onratechange"></a><h3><p><code><a href="../../js/html/Document.html#onratechange"><span class="identifier">onratechange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onreadystatechange"></a><h3><p><code><a href="../../js/html/Document.html#onreadystatechange"><span class="identifier">onreadystatechange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>readystatechange</code> event.</p></div></div><div class="field "><a name="onreset"></a><h3><p><code><a href="../../js/html/Document.html#onreset"><span class="identifier">onreset</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onresize"></a><h3><p><code><a href="../../js/html/Document.html#onresize"><span class="identifier">onresize</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onscroll"></a><h3><p><code><a href="../../js/html/Document.html#onscroll"><span class="identifier">onscroll</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onseeked"></a><h3><p><code><a href="../../js/html/Document.html#onseeked"><span class="identifier">onseeked</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onseeking"></a><h3><p><code><a href="../../js/html/Document.html#onseeking"><span class="identifier">onseeking</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onselect"></a><h3><p><code><a href="../../js/html/Document.html#onselect"><span class="identifier">onselect</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onshow"></a><h3><p><code><a href="../../js/html/Document.html#onshow"><span class="identifier">onshow</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onstalled"></a><h3><p><code><a href="../../js/html/Document.html#onstalled"><span class="identifier">onstalled</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onsubmit"></a><h3><p><code><a href="../../js/html/Document.html#onsubmit"><span class="identifier">onsubmit</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onsuspend"></a><h3><p><code><a href="../../js/html/Document.html#onsuspend"><span class="identifier">onsuspend</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontimeupdate"></a><h3><p><code><a href="../../js/html/Document.html#ontimeupdate"><span class="identifier">ontimeupdate</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchcancel"></a><h3><p><code><a href="../../js/html/Document.html#ontouchcancel"><span class="identifier">ontouchcancel</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchend"></a><h3><p><code><a href="../../js/html/Document.html#ontouchend"><span class="identifier">ontouchend</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchmove"></a><h3><p><code><a href="../../js/html/Document.html#ontouchmove"><span class="identifier">ontouchmove</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="ontouchstart"></a><h3><p><code><a href="../../js/html/Document.html#ontouchstart"><span class="identifier">ontouchstart</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onvolumechange"></a><h3><p><code><a href="../../js/html/Document.html#onvolumechange"><span class="identifier">onvolumechange</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onwaiting"></a><h3><p><code><a href="../../js/html/Document.html#onwaiting"><span class="identifier">onwaiting</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="onwheel"></a><h3><p><code><a href="../../js/html/Document.html#onwheel"><span class="identifier">onwheel</span></a>:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a></code></p></h3><div class="doc"><p>Represents the event handling code for the <code>wheel</code> event.</p></div></div><div class="field "><a name="pointerLockElement"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#pointerLockElement"><span class="identifier">pointerLockElement</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p>Returns the element set as the target for mouse events while the pointer is locked. <code>null</code> if lock is pending, pointer is unlocked, or if the target is in another document.</p></div></div><div class="field "><a name="preferredStyleSheetSet"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#preferredStyleSheetSet"><span class="identifier">preferredStyleSheetSet</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the preferred style sheet set as specified by the page author.</p></div></div><div class="field "><a name="readyState"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#readyState"><span class="identifier">readyState</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns loading status of the document.</p></div></div><div class="field "><a name="referrer"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#referrer"><span class="identifier">referrer</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns the URI of the page that linked to this page.</p></div></div><div class="field "><a name="selectedStyleSheetSet"></a><h3><p><code><a href="../../js/html/Document.html#selectedStyleSheetSet"><span class="identifier">selectedStyleSheetSet</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns which style sheet set is currently in use.</p></div></div><div class="field "><a name="styleSheetSets"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#styleSheetSets"><span class="identifier">styleSheetSets</span></a>:<a class="type" title="A type returned by some APIs which contains a list of DOMString (strings)." href="../../js/html/DOMStringList.html">DOMStringList</a></code></p></h3><div class="doc"><p>Returns a list of the style sheet sets available on the document.</p></div></div><div class="field "><a name="styleSheets"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#styleSheets"><span class="identifier">styleSheets</span></a>:<a class="type" title="The StyleSheetList interface represents a list of StyleSheet." href="../../js/html/StyleSheetList.html">StyleSheetList</a></code></p></h3><div class="doc"><p>Returns a list of the style sheet objects on the current document.</p></div></div><div class="field "><a name="timeline"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#timeline"><span class="identifier">timeline</span></a>:<a class="type" title="The DocumentTimeline interface of the the Web Animations API represents animation timelines, including the default document timeline (accessed via Document." href="../../js/html/DocumentTimeline.html">DocumentTimeline</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="title"></a><h3><p><code><a href="../../js/html/Document.html#title"><span class="identifier">title</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Sets or gets title of the current document.</p></div></div><div class="field "><a name="visibilityState"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Document.html#visibilityState"><span class="identifier">visibilityState</span></a>:<a class="type" title="" href="../../js/html/VisibilityState.html">VisibilityState</a></code></p></h3><div class="doc"><p>Returns a <code>string</code> denoting the visibility state of the document. Possible values are <code>visible</code>,  <code>hidden</code>,  <code>prerender</code>, and <code>unloaded</code>.</p></div></div></div><h3 class="section">Methods</h3><div class="fields"><div class="field "><a name="adoptNode"></a><h3><p><code><a href="#adoptNode"><span class="identifier">adoptNode</span></a> (<span style="white-space:nowrap">node:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="caretPositionFromPoint"></a><h3><p><code><a href="#caretPositionFromPoint"><span class="identifier">caretPositionFromPoint</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The CaretPosition interface represents the caret postion, an indicator for the text insertion point." href="../../js/html/CaretPosition.html">CaretPosition</a></code></p></h3><div class="doc"><p>Gets the <code><a href="../../js/html/CaretPosition.html">CaretPosition</a></code> at or near the specified coordinates.</p></div></div><div class="field "><a name="convertPointFromNode"></a><h3><p><code><a href="#convertPointFromNode"><span class="identifier">convertPointFromNode</span></a> (<span style="white-space:nowrap">point:<a class="type" title="" href="../../js/html/DOMPointInit.html">DOMPointInit</a>,</span> <span style="white-space:nowrap">from:<a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The Text interface represents the textual content of Element or Attr." href="../../js/html/Text.html">Text</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a>, <a class="type" title="HTMLDocument is an abstract interface of the DOM which provides access to special properties and methods not present by default on a regular (XML) document." href="../../js/html/HTMLDocument.html">HTMLDocument</a>&gt;&gt;,</span> <span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ConvertCoordinateOptions.html">ConvertCoordinateOptions</a></span>):<a class="type" title="A DOMPoint represents a 2D or 3D point in a coordinate system." href="../../js/html/DOMPoint.html">DOMPoint</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="convertQuadFromNode"></a><h3><p><code><a href="#convertQuadFromNode"><span class="identifier">convertQuadFromNode</span></a> (<span style="white-space:nowrap">quad:<a class="type" title="" href="../../js/html/DOMQuad.html">DOMQuad</a>,</span> <span style="white-space:nowrap">from:<a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The Text interface represents the textual content of Element or Attr." href="../../js/html/Text.html">Text</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a>, <a class="type" title="HTMLDocument is an abstract interface of the DOM which provides access to special properties and methods not present by default on a regular (XML) document." href="../../js/html/HTMLDocument.html">HTMLDocument</a>&gt;&gt;,</span> <span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ConvertCoordinateOptions.html">ConvertCoordinateOptions</a></span>):<a class="type" title="" href="../../js/html/DOMQuad.html">DOMQuad</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="convertRectFromNode"></a><h3><p><code><a href="#convertRectFromNode"><span class="identifier">convertRectFromNode</span></a> (<span style="white-space:nowrap">rect:<a class="type" title="The DOMRectReadOnly interface specifies the standard properties used by DOMRect to define a rectangle." href="../../js/html/DOMRectReadOnly.html">DOMRectReadOnly</a>,</span> <span style="white-space:nowrap">from:<a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The Text interface represents the textual content of Element or Attr." href="../../js/html/Text.html">Text</a>, <a class="type" title="An abstract type allowing values to be either of T1 or T2 type." href="../../haxe/extern/EitherType.html">EitherType</a>&lt;<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a>, <a class="type" title="HTMLDocument is an abstract interface of the DOM which provides access to special properties and methods not present by default on a regular (XML) document." href="../../js/html/HTMLDocument.html">HTMLDocument</a>&gt;&gt;,</span> <span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ConvertCoordinateOptions.html">ConvertCoordinateOptions</a></span>):<a class="type" title="" href="../../js/html/DOMQuad.html">DOMQuad</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createAttribute"></a><h3><p><code><a href="#createAttribute"><span class="identifier">createAttribute</span></a> (<span style="white-space:nowrap">name:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="This type represents a DOM element's attribute as an object." href="../../js/html/Attr.html">Attr</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createAttributeNS"></a><h3><p><code><a href="#createAttributeNS"><span class="identifier">createAttributeNS</span></a> (<span style="white-space:nowrap">namespace_:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">name:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="This type represents a DOM element's attribute as an object." href="../../js/html/Attr.html">Attr</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createCDATASection"></a><h3><p><code><a href="#createCDATASection"><span class="identifier">createCDATASection</span></a> (<span style="white-space:nowrap">data:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The CDATASection interface represents a CDATA section that can be used within XML to include extended portions of unescaped text, such that the symbols and &amp;amp; do not need escaping as they normally do within XML when used as text." href="../../js/html/CDATASection.html">CDATASection</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createComment"></a><h3><p><code><a href="#createComment"><span class="identifier">createComment</span></a> (<span style="white-space:nowrap">data:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The Comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in the source view." href="../../js/html/Comment.html">Comment</a></code></p></h3><div class="doc"><p>Creates a new comment node and returns it.</p></div></div><div class="field "><a name="createDocumentFragment"></a><h3><p><code><a href="#createDocumentFragment"><span class="identifier">createDocumentFragment</span></a> ():<a class="type" title="The DocumentFragment interface represents a minimal document object that has no parent." href="../../js/html/DocumentFragment.html">DocumentFragment</a></code></p></h3><div class="doc"><p>Creates a new document fragment.</p></div></div><div class="field "><a name="createElement"></a><h3><p><code><a href="#createElement"><span class="identifier">createElement</span></a> (<span style="white-space:nowrap">localName:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">typeExtension:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p><p><code><a href="#createElement"><span class="identifier">createElement</span></a> (<span style="white-space:nowrap">localName:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createElementNS"></a><h3><p><code><a href="#createElementNS"><span class="identifier">createElementNS</span></a> (<span style="white-space:nowrap">namespace_:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">qualifiedName:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">typeExtension:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p><p><code><a href="#createElementNS"><span class="identifier">createElementNS</span></a> (<span style="white-space:nowrap">namespace_:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">qualifiedName:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createEvent"></a><h3><p><code><a href="#createEvent"><span class="identifier">createEvent</span></a> (<span style="white-space:nowrap">interface_:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The Event interface represents any event which takes place in the DOM; some are user-generated (such as mouse or keyboard events), while others are generated by APIs (such as events that indicate an animation has finished running, a video has been paused, and so forth)." href="../../js/html/Event.html">Event</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createExpression"></a><h3><p><code><a href="#createExpression"><span class="identifier">createExpression</span></a> (<span style="white-space:nowrap">expression:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">resolver:<a class="type" title="" href="../../js/html/XPathNSResolver.html">XPathNSResolver</a></span>):<a class="type" title="An XPathExpression is a compiled XPath query returned from document." href="../../js/html/XPathExpression.html">XPathExpression</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createNSResolver"></a><h3><p><code><a href="#createNSResolver"><span class="identifier">createNSResolver</span></a> (<span style="white-space:nowrap">nodeResolver:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="createNodeIterator"></a><h3><p><code><a href="#createNodeIterator"><span class="identifier">createNodeIterator</span></a> (<span style="white-space:nowrap">root:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a>,</span> <span style="white-space:nowrap">whatToShow:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = cast 4294967295,</span> <span style="white-space:nowrap">?filter:<a class="type" title="A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker." href="../../js/html/NodeFilter.html">NodeFilter</a></span>):<a class="type" title="The NodeIterator interface represents an iterator over the members of a list of the nodes in a subtree of the DOM." href="../../js/html/NodeIterator.html">NodeIterator</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createProcessingInstruction"></a><h3><p><code><a href="#createProcessingInstruction"><span class="identifier">createProcessingInstruction</span></a> (<span style="white-space:nowrap">target:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">data:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="A processing instruction provides an opportunity for application-specific instructions to be embedded within XML and which can be ignored by XML processors which do not support processing their instructions (outside of their having a place in the DOM)." href="../../js/html/ProcessingInstruction.html">ProcessingInstruction</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createRange"></a><h3><p><code><a href="#createRange"><span class="identifier">createRange</span></a> ():<a class="type" title="The Range interface represents a fragment of a document that can contain nodes and parts of text nodes." href="../../js/html/Range.html">Range</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="createTextNode"></a><h3><p><code><a href="#createTextNode"><span class="identifier">createTextNode</span></a> (<span style="white-space:nowrap">data:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The Text interface represents the textual content of Element or Attr." href="../../js/html/Text.html">Text</a></code></p></h3><div class="doc"><p>Creates a text node.</p></div></div><div class="field "><a name="createTouch"></a><h3><p><code><a href="#createTouch"><span class="identifier">createTouch</span></a> (<span style="white-space:nowrap">?view:<a class="type" title="The window object represents a window containing a DOM document; the document property points to the DOM document loaded in that window." href="../../js/html/Window.html">Window</a>,</span> <span style="white-space:nowrap">?target:<a class="type" title="EventTarget is an interface implemented by objects that can receive events and may have listeners for them." href="../../js/html/EventTarget.html">EventTarget</a>,</span> <span style="white-space:nowrap">identifier:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">pageX:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">pageY:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">screenX:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">screenY:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">clientX:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">clientY:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">radiusX:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">radiusY:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = 0,</span> <span style="white-space:nowrap">rotationAngle:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0,</span> <span style="white-space:nowrap">force:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a> = 0.0</span>):<a class="type" title="The Touch interface represents a single contact point on a touch-sensitive device." href="../../js/html/Touch.html">Touch</a></code></p></h3><div class="doc"><p>Creates a <code><a href="../../js/html/Touch.html">Touch</a></code> object.</p></div></div><div class="field "><a name="createTouchList"></a><h3><p><code><a href="#createTouchList"><span class="identifier">createTouchList</span></a> (<span style="white-space:nowrap">touches:<a class="type" title="An Array is a storage for values." href="../../Array.html">Array</a>&lt;<a class="type" title="The Touch interface represents a single contact point on a touch-sensitive device." href="../../js/html/Touch.html">Touch</a>&gt;</span>):<a class="type" title="The TouchList interface represents a list of contact points with a touch surface; for example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries." href="../../js/html/TouchList.html">TouchList</a></code></p><p><code><a href="#createTouchList"><span class="identifier">createTouchList</span></a> (<span style="white-space:nowrap">touch:<a class="type" title="The Touch interface represents a single contact point on a touch-sensitive device." href="../../js/html/Touch.html">Touch</a>,</span> <span style="white-space:nowrap">touches:<a class="type" title="A special abstract type that represents "rest" function argument." href="../../haxe/extern/Rest.html">Rest</a>&lt;<a class="type" title="The Touch interface represents a single contact point on a touch-sensitive device." href="../../js/html/Touch.html">Touch</a>&gt;</span>):<a class="type" title="The TouchList interface represents a list of contact points with a touch surface; for example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries." href="../../js/html/TouchList.html">TouchList</a></code></p><p><code><a href="#createTouchList"><span class="identifier">createTouchList</span></a> ():<a class="type" title="The TouchList interface represents a list of contact points with a touch surface; for example, if the user has three fingers on the touch surface (such as a screen or trackpad), the corresponding TouchList object would have one Touch object for each finger, for a total of three entries." href="../../js/html/TouchList.html">TouchList</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="createTreeWalker"></a><h3><p><code><a href="#createTreeWalker"><span class="identifier">createTreeWalker</span></a> (<span style="white-space:nowrap">root:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a>,</span> <span style="white-space:nowrap">whatToShow:<a class="type" title="The standard Int type." href="../../Int.html">Int</a> = cast 4294967295,</span> <span style="white-space:nowrap">?filter:<a class="type" title="A NodeFilter interface represents an object used to filter the nodes in a NodeIterator or TreeWalker." href="../../js/html/NodeFilter.html">NodeFilter</a></span>):<a class="type" title="The TreeWalker object represents the nodes of a document subtree and a position within them." href="../../js/html/TreeWalker.html">TreeWalker</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="elementFromPoint"></a><h3><p><code><a href="#elementFromPoint"><span class="identifier">elementFromPoint</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p>Returns the topmost element at the specified coordinates. </p></div></div><div class="field "><a name="elementsFromPoint"></a><h3><p><code><a href="#elementsFromPoint"><span class="identifier">elementsFromPoint</span></a> (<span style="white-space:nowrap">x:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a>,</span> <span style="white-space:nowrap">y:<a class="type" title="The standard Float type, this is a double-precision IEEE 64bit float." href="../../Float.html">Float</a></span>):<a class="type" title="An Array is a storage for values." href="../../Array.html">Array</a>&lt;<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a>&gt;</code></p></h3><div class="doc"><p>Returns an array of all elements at the specified coordinates.</p></div></div><div class="field "><a name="enableStyleSheetsForSet"></a><h3><p><code><a href="#enableStyleSheetsForSet"><span class="identifier">enableStyleSheetsForSet</span></a> (<span style="white-space:nowrap">name:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Enables the style sheets for the specified style sheet set.</p></div></div><div class="field "><a name="evaluate"></a><h3><p><code><a href="#evaluate"><span class="identifier">evaluate</span></a> (<span style="white-space:nowrap">expression:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">contextNode:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a>,</span> <span style="white-space:nowrap">resolver:<a class="type" title="" href="../../js/html/XPathNSResolver.html">XPathNSResolver</a>,</span> <span style="white-space:nowrap">type:<a class="type" title="The standard Int type." href="../../Int.html">Int</a>,</span> <span style="white-space:nowrap">result:<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></span>):<a class="type" title="" href="../../js/html/XPathResult.html">XPathResult</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="exitFullscreen"></a><h3><p><code><a href="#exitFullscreen"><span class="identifier">exitFullscreen</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="exitPointerLock"></a><h3><p><code><a href="#exitPointerLock"><span class="identifier">exitPointerLock</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Release the pointer lock.</p></div></div><div class="field "><a name="getAnimations"></a><h3><p><code><a href="#getAnimations"><span class="identifier">getAnimations</span></a> ():<a class="type" title="An Array is a storage for values." href="../../Array.html">Array</a>&lt;<a class="type" title="The Animation interface of the Web Animations API represents a single animation player and provides playback controls and a timeline for an animation node or source." href="../../js/html/Animation.html">Animation</a>&gt;</code></p></h3><div class="doc"><p>Returns an array of all <code><a href="../../js/html/Animation.html">Animation</a></code> objects currently in effect whose target elements are descendants of the <code>document</code>.</p></div></div><div class="field "><a name="getElementById"></a><h3><p><code><a href="#getElementById"><span class="identifier">getElementById</span></a> (<span style="white-space:nowrap">elementId:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p></p></div></div><div class="field "><a name="getElementsByClassName"></a><h3><p><code><a href="#getElementsByClassName"><span class="identifier">getElementsByClassName</span></a> (<span style="white-space:nowrap">classNames:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list." href="../../js/html/HTMLCollection.html">HTMLCollection</a></code></p></h3><div class="doc"><p>Returns a list of elements with the given class name.</p></div></div><div class="field "><a name="getElementsByTagName"></a><h3><p><code><a href="#getElementsByTagName"><span class="identifier">getElementsByTagName</span></a> (<span style="white-space:nowrap">localName:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list." href="../../js/html/HTMLCollection.html">HTMLCollection</a></code></p></h3><div class="doc"><p>Returns a list of elements with the given tag name.</p></div></div><div class="field "><a name="getElementsByTagNameNS"></a><h3><p><code><a href="#getElementsByTagNameNS"><span class="identifier">getElementsByTagNameNS</span></a> (<span style="white-space:nowrap">namespace_:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">localName:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLCollection interface represents a generic collection (array-like object similar to arguments) of elements (in document order) and offers methods and properties for selecting from the list." href="../../js/html/HTMLCollection.html">HTMLCollection</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="hasFocus"></a><h3><p><code><a href="#hasFocus"><span class="identifier">hasFocus</span></a> ():<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="importNode"></a><h3><p><code><a href="#importNode"><span class="identifier">importNode</span></a> (<span style="white-space:nowrap">node:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a>,</span> <span style="white-space:nowrap">deep:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="querySelector"></a><h3><p><code><a href="#querySelector"><span class="identifier">querySelector</span></a> (<span style="white-space:nowrap">selectors:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="querySelectorAll"></a><h3><p><code><a href="#querySelectorAll"><span class="identifier">querySelectorAll</span></a> (<span style="white-space:nowrap">selectors:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="NodeList objects are collections of nodes such as those returned by Node." href="../../js/html/NodeList.html">NodeList</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="registerElement"></a><h3><p><code><a href="#registerElement"><span class="identifier">registerElement</span></a> (<span style="white-space:nowrap">name:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">?options:<a class="type" title="" href="../../js/html/ElementRegistrationOptions.html">ElementRegistrationOptions</a></span>):<a class="type" title="Dynamic is a special type which is compatible with all other types." href="../../Dynamic.html">Dynamic</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="releaseCapture"></a><h3><p><code><a href="#releaseCapture"><span class="identifier">releaseCapture</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Releases the current mouse capture if it's on an element in this document.</p></div></div></div> <div class="inherited-fields well"><h3 class="section">Inherited Variables</h3><div class="fields"><h4><a href="#" class="expand-button"><i class="fa fa-arrow-circle-o-right"></i></a> Defined by <a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></h4><div style="display:none"><div class="field "><a name="baseURI"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#baseURI"><span class="identifier">baseURI</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns a <code>DOMString</code> representing the base URL. The concept of base URL changes from one language to another; in HTML, it corresponds to the protocol, the domain name and the directory structure, that is all until the last <code>'/'</code>.</p></div></div><div class="field "><a name="childNodes"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#childNodes"><span class="identifier">childNodes</span></a>:<a class="type" title="NodeList objects are collections of nodes such as those returned by Node." href="../../js/html/NodeList.html">NodeList</a></code></p></h3><div class="doc"><p>Returns a live <code><a href="../../js/html/NodeList.html">NodeList</a></code> containing all the children of this node. <code><a href="../../js/html/NodeList.html">NodeList</a></code> being live means that if the children of the <code><a href="../../js/html/Node.html">Node</a></code> change, the <code><a href="../../js/html/NodeList.html">NodeList</a></code> object is automatically updated.</p></div></div><div class="field "><a name="firstChild"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#firstChild"><span class="identifier">firstChild</span></a>:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/Node.html">Node</a></code> representing the first direct child node of the node, or <code>null</code> if the node has no child.</p></div></div><div class="field "><a name="lastChild"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#lastChild"><span class="identifier">lastChild</span></a>:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/Node.html">Node</a></code> representing the last direct child node of the node, or <code>null</code> if the node has no child.</p></div></div><div class="field "><a name="localName"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#localName"><span class="identifier">localName</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns a <code>DOMString</code> representing the local part of the qualified name of an element.</p>
<p>Note: In Firefox 3.5 and earlier, the property upper-cases the local name for HTML elements (but not XHTML elements). In later versions, this does not happen, so the property is in lower case for both HTML and XHTML. <code>1.9.2</code></p></div></div><div class="field "><a name="namespaceURI"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#namespaceURI"><span class="identifier">namespaceURI</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>The namespace URI of this node, or <code>null</code> if it is no namespace.</p>
<p>Note: In Firefox 3.5 and earlier, HTML elements are in no namespace. In later versions, HTML elements are in the <code>https://www.w3.org/1999/xhtml/</code> namespace in both HTML and XML trees. <code>1.9.2</code></p></div></div><div class="field "><a name="nextSibling"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#nextSibling"><span class="identifier">nextSibling</span></a>:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/Node.html">Node</a></code> representing the next node in the tree, or <code>null</code> if there isn't such node.</p></div></div><div class="field "><a name="nodeName"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#nodeName"><span class="identifier">nodeName</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns a <code>DOMString</code> containing the name of the <code><a href="../../js/html/Node.html">Node</a></code>. The structure of the name will differ with the name type. E.g. An <code>HTMLElement</code> will contain the name of the corresponding tag, like <code>'audio'</code> for an <code>HTMLAudioElement</code>, a <code><a href="../../js/html/Text.html">Text</a></code> node will have the <code>'#text'</code> string, or a <code><a href="../../js/html/Document.html">Document</a></code> node will have the <code>'#document'</code> string.</p></div></div><div class="field "><a name="nodeType"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#nodeType"><span class="identifier">nodeType</span></a>:<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>Returns an <code>unsigned short</code> representing the type of the node. Possible values are:
<table class="standard-table"></p>
<p><tr>
Name
Value
</tr>
<tr>
<td><code>ELEMENT_NODE</code></td>
<td><code>1</code></td>
</tr>
<tr>
<td><code>ATTRIBUTE_NODE</code> <em>(deprecated)</em></td>
<td><code>2</code></td>
</tr>
<tr>
<td><code>TEXT_NODE</code></td>
<td><code>3</code></td>
</tr>
<tr>
<td><code>CDATA_SECTION_NODE</code> <em>(deprecated)</em></td>
<td><code>4</code></td>
</tr>
<tr>
<td><code>ENTITY_REFERENCE_NODE</code> <em>(deprecated)</em></td>
<td><code>5</code></td>
</tr>
<tr>
<td><code>ENTITY_NODE</code> <em>(deprecated)</em></td>
<td><code>6</code></td>
</tr>
<tr>
<td><code>PROCESSING_INSTRUCTION_NODE</code></td>
<td><code>7</code></td>
</tr>
<tr>
<td><code>COMMENT_NODE</code></td>
<td><code>8</code></td>
</tr>
<tr>
<td><code>DOCUMENT_NODE</code></td>
<td><code>9</code></td>
</tr>
<tr>
<td><code>DOCUMENT_TYPE_NODE</code></td>
<td><code>10</code></td>
</tr>
<tr>
<td><code>DOCUMENT_FRAGMENT_NODE</code></td>
<td><code>11</code></td>
</tr>
<tr>
<td><code>NOTATION_NODE</code> <em>(deprecated)</em></td>
<td><code>12</code></td>
</tr></p>
<p></table></p></div></div><div class="field "><a name="nodeValue"></a><h3><p><code><a href="../../js/html/Node.html#nodeValue"><span class="identifier">nodeValue</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns / Sets the value of the current node</p></div></div><div class="field "><a name="ownerDocument"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#ownerDocument"><span class="identifier">ownerDocument</span></a>:<a class="type" title="HTMLDocument is an abstract interface of the DOM which provides access to special properties and methods not present by default on a regular (XML) document." href="../../js/html/HTMLDocument.html">HTMLDocument</a></code></p></h3><div class="doc"><p>Returns the <code><a href="../../js/html/Document.html">Document</a></code> that this node belongs to. If no document is associated with it, returns <code>null</code>.</p></div></div><div class="field "><a name="parentElement"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#parentElement"><span class="identifier">parentElement</span></a>:<a class="type" title="The HTMLElement interface represents any HTML element." href="../../js/html/Element.html">Element</a></code></p></h3><div class="doc"><p>Returns an <code><a href="../../js/html/Element.html">Element</a></code> that is the parent of this node. If the node has no parent, or if that parent is not an <code><a href="../../js/html/Element.html">Element</a></code>, this property returns <code>null</code>.</p></div></div><div class="field "><a name="parentNode"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#parentNode"><span class="identifier">parentNode</span></a>:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/Node.html">Node</a></code> that is the parent of this node. If there is no such node, like if this node is the top of the tree or if doesn't participate in a tree, this property returns <code>null</code>.</p></div></div><div class="field "><a name="prefix"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#prefix"><span class="identifier">prefix</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Is a <code>DOMString</code> representing the namespace prefix of the node, or <code>null</code> if no prefix is specified.</p></div></div><div class="field "><a name="previousSibling"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/Node.html#previousSibling"><span class="identifier">previousSibling</span></a>:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p>Returns a <code><a href="../../js/html/Node.html">Node</a></code> representing the previous node in the tree, or <code>null</code> if there isn't such node.</p></div></div><div class="field "><a name="textContent"></a><h3><p><code><a href="../../js/html/Node.html#textContent"><span class="identifier">textContent</span></a>:<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Returns / Sets the textual content of an element and all its descendants.</p></div></div></div><div style="display:none"></div></div><h3 class="section">Inherited Methods</h3><div class="fields"><h4><a href="#" class="expand-button"><i class="fa fa-arrow-circle-o-right"></i></a> Defined by <a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></h4><div style="display:none"><div class="field "><a name="appendChild"></a><h3><p><code><a href="#appendChild"><span class="identifier">appendChild</span></a> (<span style="white-space:nowrap">node:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="cloneNode"></a><h3><p><code><a href="#cloneNode"><span class="identifier">cloneNode</span></a> (<span style="white-space:nowrap">deep:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="compareDocumentPosition"></a><h3><p><code><a href="#compareDocumentPosition"><span class="identifier">compareDocumentPosition</span></a> (<span style="white-space:nowrap">other:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="The standard Int type." href="../../Int.html">Int</a></code></p></h3><div class="doc"><p>Returns the context objects root which optionally includes the shadow root if it is available. </p></div></div><div class="field "><a name="contains"></a><h3><p><code><a href="#contains"><span class="identifier">contains</span></a> (<span style="white-space:nowrap">other:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p>Returns the context objects root which optionally includes the shadow root if it is available. </p></div></div><div class="field "><a name="hasChildNodes"></a><h3><p><code><a href="#hasChildNodes"><span class="identifier">hasChildNodes</span></a> ():<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p>Returns a <code>Boolean</code> indicating if the element has any child nodes, or not.</p></div></div><div class="field "><a name="insertBefore"></a><h3><p><code><a href="#insertBefore"><span class="identifier">insertBefore</span></a> (<span style="white-space:nowrap">node:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a>,</span> <span style="white-space:nowrap">child:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="isDefaultNamespace"></a><h3><p><code><a href="#isDefaultNamespace"><span class="identifier">isDefaultNamespace</span></a> (<span style="white-space:nowrap">namespace_:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p>Returns a <code>Boolean</code> which indicates whether or not two nodes are of the same type and all their defining data points match.</p></div></div><div class="field "><a name="isEqualNode"></a><h3><p><code><a href="#isEqualNode"><span class="identifier">isEqualNode</span></a> (<span style="white-space:nowrap">node:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p>Returns a <code>Boolean</code> which indicates whether or not two nodes are of the same type and all their defining data points match.</p></div></div><div class="field "><a name="lookupNamespaceURI"></a><h3><p><code><a href="#lookupNamespaceURI"><span class="identifier">lookupNamespaceURI</span></a> (<span style="white-space:nowrap">prefix:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Clean up all the text nodes under this element (merge adjacent, remove empty).</p></div></div><div class="field "><a name="lookupPrefix"></a><h3><p><code><a href="#lookupPrefix"><span class="identifier">lookupPrefix</span></a> (<span style="white-space:nowrap">namespace_:<a class="type" title="The basic String class." href="../../String.html">String</a></span>):<a class="type" title="The basic String class." href="../../String.html">String</a></code></p></h3><div class="doc"><p>Clean up all the text nodes under this element (merge adjacent, remove empty).</p></div></div><div class="field "><a name="normalize"></a><h3><p><code><a href="#normalize"><span class="identifier">normalize</span></a> ():<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p>Clean up all the text nodes under this element (merge adjacent, remove empty).</p></div></div><div class="field "><a name="removeChild"></a><h3><p><code><a href="#removeChild"><span class="identifier">removeChild</span></a> (<span style="white-space:nowrap">child:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="replaceChild"></a><h3><p><code><a href="#replaceChild"><span class="identifier">replaceChild</span></a> (<span style="white-space:nowrap">node:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a>,</span> <span style="white-space:nowrap">child:<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></span>):<a class="type" title="A Node is an interface from which a number of DOM types inherit, and allows these various types to be treated (or tested) similarly." href="../../js/html/Node.html">Node</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div></div><h4><a href="#" class="expand-button"><i class="fa fa-arrow-circle-o-right"></i></a> Defined by <a class="type" title="EventTarget is an interface implemented by objects that can receive events and may have listeners for them." href="../../js/html/EventTarget.html">EventTarget</a></h4><div style="display:none"><div class="field "><a name="addEventListener"></a><h3><p><code><a href="#addEventListener"><span class="identifier">addEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#addEventListener"><span class="identifier">addEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This method is called whenever an event occurs of the type for which the EventListener interface was registered." href="../../js/html/EventListener.html">EventListener</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false,</span> <span style="white-space:nowrap">?wantsUntrusted:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="dispatchEvent"></a><h3><p><code><a href="#dispatchEvent"><span class="identifier">dispatchEvent</span></a> (<span style="white-space:nowrap">event:<a class="type" title="The Event interface represents any event which takes place in the DOM; some are user-generated (such as mouse or keyboard events), while others are generated by APIs (such as events that indicate an animation has finished running, a video has been paused, and so forth)." href="../../js/html/Event.html">Event</a></span>):<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div><div class="field "><a name="removeEventListener"></a><h3><p><code><a href="#removeEventListener"><span class="identifier">removeEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This type unifies with any function type." href="../../haxe/Function.html">Function</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p><p><code><a href="#removeEventListener"><span class="identifier">removeEventListener</span></a> (<span style="white-space:nowrap">type:<a class="type" title="The basic String class." href="../../String.html">String</a>,</span> <span style="white-space:nowrap">listener:<a class="type" title="This method is called whenever an event occurs of the type for which the EventListener interface was registered." href="../../js/html/EventListener.html">EventListener</a>,</span> <span style="white-space:nowrap">capture:<a class="type" title="The standard Boolean type, which can either be true or false." href="../../Bool.html">Bool</a> = false</span>):<a class="type" title="The standard Void type." href="../../Void.html">Void</a></code></p></h3><div class="doc"><p class="javadoc">Throws:</p><table class="table table-bordered params"><div class="indent inline-content"><tr><th width="25%"><code>null</code></th><td><p>DOMError</p></td></tr></div></table></div></div></div></div></div></div></div></div></div><footer class="section site-footer" style="background:#FAFAFA"><div class="container"><div class="copyright"><p style="color:#777777">&copy; 2017 &nbsp;<a style="color:#777777" href="http://www.openfl.org">http://www.openfl.org</a></p></div></div></footer><script src="../..//highlighter.js"></script><link href="../../highlighter.css" rel="stylesheet"/></body></html>