e></pre>
<h3 id="v1x12"><a href="#v1x12"><code>v1.x</code></a></h3>
<pre><code class="lang-javascript">// Getting the current route
m.route.get()

// Setting a new route
m.route.set(&quot;/other/route&quot;)
</code></pre>
<hr>
<h2 id="accessing-route-params"><a href="#accessing-route-params">Accessing route params</a></h2>
<p>In <code>v0.2.x</code> reading route params was entirely handled through <code>m.route.param()</code>. This API is still available in <code>v1.x</code>, and additionally any route para