-
v0.34.0 Stable
released this
2026-09-22 11:13:39 +00:00 | 17 commits to main since this releaseAdded
Sidebargains a#linkslot, forwarded byAppLayout, that renders every
navigable entry — plain links, group rows with anhref, the bottom nav and
the collapsed rail's flyout — through the consumer's own element, so an
application sets its RouterLink once and drops its click interception. It
follows Breadcrumb's#link: the scope carriesitem,linkClassand, in
addition,attrs(the ARIA state, data hooks and listeners the Sidebar's
keyboard, flyout and drawer wiring depend on) andcontent(the icon, label
and badge). Render<RouterLink :to="item.href" :class="linkClass" v-bind="attrs"><component :is="content" /></RouterLink>. Active state and
aria-currentstay the Sidebar's decision. Without the slot the output is
unchanged.SidebarLinkSlotScopeis exported fromSidebar.types.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads