ILinkProps
interface
Navigation
Navigation props shared by any component that can act as a link — resolves to an anchor when href or to is set, button otherwise.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- hrefstring
- Plain URL for external links. When set, renders an <a> element.
- replaceboolean
- When true, navigates via router.replace() instead of router.push().
- toRouteLocationRaw
- Vue Router destination — a string path, location object or named route.
- exactboolean
- Passes the `exact` flag to vue-router for active-link matching.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Button acting as a router link