gt;</span></span> <a href="#type-t">t</a></span></code></div><div class="spec-doc"><p><code>on_ok result</code> is <code>attr</code> if <code>result</code> is <code>Ok attr</code> and <code>empty</code> if <code>result</code> is <code>Error _</code>.</p></div></div><div class="odoc-spec"><div class="spec value anchored" id="val-on_mount"><a href="#val-on_mount" class="anchor"></a><code><span><span class="keyword">val</span> on_mount : <span><span>(<span><a href="../../Stdweb/Dom/index.html#type-node">Stdweb