1 | {
|
2 | "name": {
|
3 | "type": "string | symbol",
|
4 | "description": "When a `<router-view>` has a `name` prop, it will render the component with the corresponding name in the matched route record's components option."
|
5 | },
|
6 | "route": {
|
7 | "description": "When a `<router-view>` has a `route` prop, it will use that resolved Route Location instead of the current location."
|
8 | },
|
9 | "to": {
|
10 | "description": "Denotes the target route of the link. When clicked, the value of the `to` prop will be internally passed to `router.push()`, so the value can be either a string or a location descriptor object."
|
11 | },
|
12 | "replace": {
|
13 | "type": "boolean",
|
14 | "description": "Setting replace prop will call `router.replace()` instead of `router.push()` when clicked, so the navigation will replace the current history entry."
|
15 | },
|
16 | "custom": {
|
17 | "type": "boolean",
|
18 | "description": "Whether `<router-link>` should not wrap its content in an `<a>` tag."
|
19 | },
|
20 | "active-class": {
|
21 | "type": "string",
|
22 | "description": "Configure the active CSS class applied when the link is active. Note the default value can also be configured globally via the `linkActiveClass` router constructor option."
|
23 | },
|
24 | "exact-active-class": {
|
25 | "type": "string",
|
26 | "description": "Configure the active CSS class applied when the link is exactly active. Note the default value can also be configured globally via the `linkExactActiveClass` router constructor option."
|
27 | },
|
28 | "aria-current-value": {
|
29 | "options": ["page", "step", "location", "date", "time", "true", "false"],
|
30 | "description": "Configure the value of `aria-current` when the link is active with exact match. It must be one of the [allowed values for `aria-current`](https://www.w3.org/TR/wai-aria-1.2/#aria-current) in the ARIA spec. In most cases, the default of `page` should be the best fit."
|
31 | }
|
32 | }
|