<div><div style="top:0px;height:19px;" class="view-line"><span><span class="mtk6">const</span><span class="mtk1">&nbsp;</span><span class="mtk19">nav</span><span class="mtk1">&nbsp;</span><span class="mtk3">=</span><span class="mtk1">&nbsp;</span><span class="mtk6">new</span><span class="mtk1">&nbsp;</span><span class="mtk10">vegvisir</span><span class="mtk1">.</span><span class="mtk16">Navigation</span><span class="mtk1">(</span><span class="mtk12">"/example-page"</span><span class="mtk1">);</span></span></div><div style="top:19px;height:19px;" class="view-line"><span><span></span></span></div><div style="top:38px;height:19px;" class="view-line"><span><span class="mtk5">//&nbsp;Navigate&nbsp;the&nbsp;passed&nbsp;&lt;article&gt;&nbsp;element&nbsp;to&nbsp;"publi</span><span class="mtk5">c/example-page"&nbsp;by&nbsp;element&nbsp;reference</span></span></div><div style="top:57px;height:19px;" class="view-line"><span><span class="mtk19">nav</span><span class="mtk1">.</span><span class="mtk16">navigate</span><span class="mtk1">(</span><span class="mtk10">document</span><span class="mtk1">.</span><span class="mtk16">querySelector</span><span class="mtk1">(</span><span class="mtk12">"article"</span><span class="mtk1">));</span></span></div><div style="top:76px;height:19px;" class="view-line"><span><span></span></span></div><div style="top:95px;height:19px;" class="view-line"><span><span class="mtk5">//&nbsp;Navigate&nbsp;the&nbsp;first&nbsp;section&nbsp;inside&nbsp;the&nbsp;article&nbsp;e</span><span class="mtk5">lement&nbsp;element&nbsp;to&nbsp;"public/example-page"&nbsp;by&nbsp;CSS&nbsp;sel</span><span class="mtk5">ector</span></span></div><div style="top:114px;height:19px;" class="view-line"><span><span class="mtk19">nav</span><span class="mtk1">.</span><span class="mtk16">navigate</span><span class="mtk1">(</span><span class="mtk12">"article&nbsp;&gt;&nbsp;section:first-child"</span><span class="mtk1">);</span></span></div></div>