und:red]&quot;)
</code></pre>
<p>Using a string as a <code>style</code> would overwrite all inline styles in the element if it is redrawn, and not only CSS rules whose values have changed.</p>
<p>Mithril does not attempt to add units to number values.</p>
<hr>
<h3 id="events"><a href="#events">Events</a></h3>
<p>Mithril supports event handler binding for all DOM events, including events whose specs do not define an <code>on${event}</code> property, such as <code>touchstart</code></p>
<pre><code class="lang-