</code></td>
<td></td>
<td>A <a href=vnodes.html#structure>vnode</a></td>
</tr>
</table>
<p><a href=signatures.html>How to read signatures</a></p>
<hr>
<h3 id=how-it-works><a href=#how-it-works>How it works</a></h3>
<p>Mithril provides a hyperscript function <code>m()</code>, which allows expressing any HTML structure using JavaScript syntax. It accepts a <code>selector</code> string (required), an <code>attrs</code> object (optional) and a <code>children</code> array (optional).</p>
<pre><code class=langua