Skip to content

PageNavigation API

API reference docs for the Stash PageNavigation component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import PageNavigation from '@leaflink/stash/PageNavigation.vue';

Props

NameTypeDefaultDescription
itemsArray-Array of tabs. A `tab` is an object containing a `label` and either an `href` | `to`
activeIndexnumber | stringundefinedIndex of active tab (zero-based)
modelValuestring '' The currently active tab value

Slots

None

Events

NameDescription
update:modelValueEmits the current active nav value
changeEmits the current active nav index