You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/common-props.json
+23-14Lines changed: 23 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -197,40 +197,49 @@
197
197
"active": {
198
198
"description": "When set to 'true', places the component in the active state with active styling"
199
199
},
200
+
"href": {
201
+
"description": "<b-link> prop: Denotes the target URL of the link for standard a links"
202
+
},
200
203
"rel": {
201
-
"description": "Sets the 'rel' attribute on the rendered link"
204
+
"description": "<b-link> prop: Sets the 'rel' attribute on the rendered link"
202
205
},
203
206
"target": {
204
-
"description": "Sets the 'target' attribute on the rendered link"
205
-
},
206
-
"href": {
207
-
"description": "Denotes the target URL of the link for standard a links"
207
+
"description": "<b-link> prop: Sets the 'target' attribute on the rendered link"
208
208
},
209
209
"to": {
210
-
"description": "router-link prop: Denotes the target route of the link. When clicked, the value of the to prop will be passed to router.push() internally, so the value can be either a string or a Location descriptor object"
210
+
"description": "<router-link> prop: Denotes the target route of the link. When clicked, the value of the to prop will be passed to router.push() internally, so the value can be either a string or a Location descriptor object"
211
211
},
212
212
"replace": {
213
-
"description": "router-link prop: Setting the replace prop will call 'router.replace()' instead of 'router.push()' when clicked, so the navigation will not leave a history record"
213
+
"description": "<router-link> prop: Setting the replace prop will call 'router.replace()' instead of 'router.push()' when clicked, so the navigation will not leave a history record"
214
214
},
215
215
"append": {
216
-
"description": "router-link prop: Setting append prop always appends the relative path to the current path"
216
+
"description": "<router-link> prop: Setting append prop always appends the relative path to the current path"
217
217
},
218
218
"exact": {
219
-
"description": "router-link prop: The default active class matching behavior is inclusive match. Setting this prop forces the mode to exactly match the route"
219
+
"description": "<router-link> prop: The default active class matching behavior is inclusive match. Setting this prop forces the mode to exactly match the route"
220
220
},
221
221
"activeClass": {
222
-
"description": "router-link prop: Configure the active CSS class applied when the link is active. Typically you will want to set this to class name 'active'"
222
+
"description": "<router-link> prop: Configure the active CSS class applied when the link is active. Typically you will want to set this to class name 'active'"
223
223
},
224
224
"exactActiveClass": {
225
-
"description": "router-link prop: Configure the active CSS class applied when the link is active with exact match. Typically you will want to set this to class name 'active'"
225
+
"description": "<router-link> prop: Configure the active CSS class applied when the link is active with exact match. Typically you will want to set this to class name 'active'"
226
226
},
227
227
"routerTag": {
228
-
"description": "router-link prop: Specify which tag to render, and it will still listen to click events for navigation. 'router-tag' translates to the tag prop on the final rendered router-link. Typically you should use the default value"
228
+
"description": "<router-link> prop: Specify which tag to render, and it will still listen to click events for navigation. 'router-tag' translates to the tag prop on the final rendered router-link. Typically you should use the default value"
229
229
},
230
230
"event": {
231
-
"description": "router-link prop: Specify the event that triggers the link. In most cases you should leave this as the default"
231
+
"description": "<router-link> prop: Specify the event that triggers the link. In most cases you should leave this as the default"
232
+
},
233
+
"prefetch": {
234
+
"description": "<nuxt-link> prop: To improve the responsiveness of your Nuxt.js applications, when the link will be displayed within the viewport, Nuxt.js will automatically prefetch the code splitted page. Setting 'prefetch' to 'true' or 'false' will overwrite the default value of 'router.prefetchLinks'",
235
+
"version": "2.15.0"
232
236
},
233
237
"noPrefetch": {
234
-
"description": "nuxt-link prop: To improve the responsiveness of your Nuxt.js applications, when the link will be displayed within the viewport, Nuxt.js will automatically prefetch the code splitted page. Setting 'no-prefetch' will disabled this feature for the specific link"
238
+
"description": "<nuxt-link> prop: To improve the responsiveness of your Nuxt.js applications, when the link will be displayed within the viewport, Nuxt.js will automatically prefetch the code splitted page. Setting 'no-prefetch' will disabled this feature for the specific link"
239
+
},
240
+
"routerComponentName": {
241
+
"description": "<b-link> prop: BootstrapVue auto detects between `<router-link>` and `<nuxt-link>`. In cases where you want to use a 3rd party link component based on `<router-link>`, set this prop to the component name. e.g. set it to 'g-link' if you are using Gridsome (note only `<router-link>` specific props are passed to the component)",
0 commit comments