<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="previous" href="Dom.namedNodeMap-c.html"> <link rel="next" href="Dom.characterData-c.html"> <link rel="Up" href="Dom.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of exceptions" rel=Appendix href="index_exceptions.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of class methods" rel=Appendix href="index_methods.html"> <link title="Index of class types" rel=Appendix href="index_class_types.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Index of module types" rel=Appendix href="index_module_types.html"> <link title="CSS" rel="Chapter" href="CSS.html"> <link title="Dom" rel="Chapter" href="Dom.html"> <link title="Dom_events" rel="Chapter" href="Dom_events.html"> <link title="Dom_html" rel="Chapter" href="Dom_html.html"> <link title="Event_arrows" rel="Chapter" href="Event_arrows.html"> <link title="File" rel="Chapter" href="File.html"> <link title="Firebug" rel="Chapter" href="Firebug.html"> <link title="Form" rel="Chapter" href="Form.html"> <link title="Js" rel="Chapter" href="Js.html"> <link title="Json" rel="Chapter" href="Json.html"> <link title="Lwt_js" rel="Chapter" href="Lwt_js.html"> <link title="Regexp" rel="Chapter" href="Regexp.html"> <link title="Url" rel="Chapter" href="Url.html"> <link title="XmlHttpRequest" rel="Chapter" href="XmlHttpRequest.html"><title>Dom.element</title> </head> <body> <div class="navbar"><a href="Dom.namedNodeMap-c.html">Previous</a> <a href="Dom.html">Up</a> <a href="Dom.characterData-c.html">Next</a> </div> <center><h1>Class type <a href="type_Dom.element.html">Dom.element</a></h1></center> <br> <pre><span id="TYPEelement"><span class="keyword">class type</span> element</span> = <code class="code">object</code> <a href="Dom.element-c.html">..</a> <code class="code">end</code></pre>Specification of <code class="code">Element</code> objects.<br> <b>Inherits</b><ul> <li><a href="Dom.node-c.html"><code class="code">Dom.node</code></a></li> </ul> <hr width="100%"> <pre><span id="METHODtagName"><span class="keyword">method</span> tagName</span> : <code class="type"><a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> <a href="Js.html#TYPEreadonly_prop">Js.readonly_prop</a></code></pre><pre><span id="METHODgetAttribute"><span class="keyword">method</span> getAttribute</span> : <code class="type"><a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> <a href="Js.html#TYPEopt">Js.opt</a> <a href="Js.html#TYPEmeth">Js.meth</a></code></pre><pre><span id="METHODsetAttribute"><span class="keyword">method</span> setAttribute</span> : <code class="type"><a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> -> unit <a href="Js.html#TYPEmeth">Js.meth</a></code></pre><pre><span id="METHODremoveAttribute"><span class="keyword">method</span> removeAttribute</span> : <code class="type"><a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> -> unit <a href="Js.html#TYPEmeth">Js.meth</a></code></pre><pre><span id="METHODhasAttribute"><span class="keyword">method</span> hasAttribute</span> : <code class="type"><a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> -> bool <a href="Js.html#TYPEt">Js.t</a> <a href="Js.html#TYPEmeth">Js.meth</a></code></pre><pre><span id="METHODgetElementsByTagName"><span class="keyword">method</span> getElementsByTagName</span> : <code class="type"><a href="Js.js_string-c.html">Js.js_string</a> <a href="Js.html#TYPEt">Js.t</a> -> <a href="Dom.element-c.html">element</a> <a href="Dom.nodeList-c.html">nodeList</a> <a href="Js.html#TYPEt">Js.t</a> <a href="Js.html#TYPEmeth">Js.meth</a></code></pre><pre><span id="METHODclassList"><span class="keyword">method</span> classList</span> : <code class="type"><a href="Dom.tokenList-c.html">tokenList</a> <a href="Js.html#TYPEt">Js.t</a> <a href="Js.html#TYPEreadonly_prop">Js.readonly_prop</a></code></pre><pre><span id="METHODattributes"><span class="keyword">method</span> attributes</span> : <code class="type"><a href="Dom.namedNodeMap-c.html">namedNodeMap</a> <a href="Js.html#TYPEt">Js.t</a> <a href="Js.html#TYPEreadonly_prop">Js.readonly_prop</a></code></pre></body></html>