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

96 lines
34 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.DocumentFragment - API Reference</title><meta name="description" content="The &lt;code&gt;&lt;a href="../../js/html/DocumentFragment.html"&gt;DocumentFragment&lt;/a&gt;&lt;/code&gt; interface represents a minimal document object that has no parent. It is used as a light-weight version of &lt;code&gt;&lt;a href="../../js/html/Document.html"&gt;Document&lt;/a&gt;&lt;/code&gt; to store well-formed or potentially non-well-formed fragments of XML."/></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> DocumentFragment</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="The ShadowRoot interface of the Shadow DOM API is the root node of a DOM subtree that is rendered separately from a document's main DOM tree." href="../../js/html/ShadowRoot.html">ShadowRoot</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/DocumentFragment.html">DocumentFragment</a></code> interface represents a minimal document object that has no parent. It is used as a light-weight version of <code><a href="../../js/html/Document.html">Document</a></code> to store well-formed or potentially non-well-formed fragments of XML.</p>
<p>Documentation <a href="https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment">DocumentFragment</a> by <a href="https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment$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/DocumentFragment">https://developer.mozilla.org/en-US/docs/Web/API/DocumentFragment</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="childElementCount"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DocumentFragment.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/DocumentFragment.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="firstElementChild"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DocumentFragment.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="lastElementChild"></a><h3><p><code><span class="label">read only</span><a href="../../js/html/DocumentFragment.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><h3 class="section">Methods</h3><div class="fields"><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>Returns the first <code><a href="../../js/html/Element.html">Element</a></code> node within the DocumentFragment`, in document order, that matches the specified ID.</p></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> <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>