1"><code>v0.2.x</code></a></h3>
<pre><code class="lang-javascript">// When clicked this link will load the &quot;/path&quot; route instead of navigating
m(&quot;a&quot;, {
    href   : &quot;/path&quot;,
    config : m.route
})
</code></pre>
<h3 id="v1x11"><a href="#v1x11"><code>v1.x</code></a></h3>
<pre><code class="lang-javascript">// When clicked this link will load the &quot;/path&quot; route instead of navigating
m(&quot;a&quot;, {
    href     : &quot;/path&quot;,
    oncreate : m.route.link
})
</code