<ul class="uk-navbar-nav" uk-scrollspy-nav="closest: li; scroll: true">
<li><a href="#a">A</a></li>
<li><a href="#b">B</a></li>
<li><a href="#c">C</a></li>
</ul>
<ul<?= $this->attrs($attrs) ?> >
<?= $this->render("menu/{$type}", ['items' => $items, 'level' => 1]) ?>
</ul>
<ul<?= $this->attrs($attrs) ?> uk-scrollspy-nav="closest: li; scroll: true">
<?= $this->render("menu/{$type}", ['items' => $items, 'level' => 1]) ?>
</ul>