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
Name | Type | Default | Description |
---|---|---|---|
items | Array | - | Array of tabs. A `tab` is an object containing a `label` and either an `href` | `to` |
activeIndex | number | string | undefined | Index of active tab (zero-based) |
modelValue | string | '' | The currently active tab value |
Slots
None
Events
Name | Description |
---|---|
update:modelValue | Emits the current active nav value |
change | Emits the current active nav index |