editLink |
---|
API Documentation / RouterLinkProps
-
RouterLinkOptions
↳
RouterLinkProps
• Optional
activeClass: string
Class to apply when the link is active
• Optional
ariaCurrentValue: "time"
| "location"
| "page"
| "step"
| "date"
| "true"
| "false"
Value passed to the attribute aria-current
when the link is exact active.
Default Value
'page'
• Optional
custom: boolean
Whether RouterLink should not wrap its content in an a
tag. Useful when
using v-slot
to create a custom RouterLink
• Optional
exactActiveClass: string
Class to apply when the link is exact active
• Optional
replace: boolean
Calls router.replace
instead of router.push
.
RouterLinkOptions.replace
• to: string
| RouteLocationAsRelativeGeneric
| RouteLocationAsPathGeneric
Route Location the link should navigate to when clicked on.
RouterLinkOptions.to