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
@@ -248,7 +248,7 @@ Sometimes you may want your links to perform an action instead of following a li
248
248
| elementId | String | no | A generated uuid || This value will be set as the `id` of the instance |
249
249
| isUsingVueRouter | Boolean | no | false || If you want to use vue-router, set this to true and all links will automatically be `<router-link></router-link>`|
250
250
| mobileBreakpoint | Number | no | 992 || Width at which the navbar turns into the mobile version |
251
-
| brandImagePath | String | no | '/' || The path for your `brand-image`'s link |
251
+
| brandImagePath | String or Object| no | '/' || The path for your `brand-image`. If you have `isUsingVueRouter === true`, then this needs to be an `Object` with a `name` property. Otherwise, just provide a `String`. link |
252
252
| brandImage | Image | no |||`require()` your image here to use your brand image |
253
253
| brandImageAltText | String | no | 'brand-image' || The `alt` tag text for your brand image |
254
254
| collapseButtonImageOpen | Image | no | A hamburger icon ||`require()` your image here |
@@ -261,7 +261,7 @@ Sometimes you may want your links to perform an action instead of following a li
261
261
| menuOptionsLeft | Object | no | {} || Menu options that will be _pulled_ to the left towards the `brand-image`|
262
262
| menuOptionsLeft.type | String | yes || 'link', 'button', 'spacer', 'dropdown' | What type of link will this menu-option be? `link` will be a link, `button` will be a button, `spacer` will be a spacer with a width of `30px` , `dropdown` will create a dropdown on desktop and a `ul/li` list on mobile. `dropdown` only works on menuOptions, not subMenuOptions. |
263
263
| menuOptionsLeft.text | String | yes ||| Text of menu-option |
264
-
| menuOptionsLeft.path | String | yes ||| Link path of menu-option. Not applicable to `dropdown` menuOption types. |
264
+
| menuOptionsLeft.path | String or Object| yes ||| Link path of menu-option. If you have `isUsingVueRouter === true`, then this needs to be an `Object` with a `name` property. Otherwise, just provide a `String`. Not applicable to `dropdown` menuOption types. |
265
265
| menuOptionsLeft.arrowColor | String | no ||| CSS hex - `#FFF`. This styles the little chevron icon. |
266
266
| menuOptionsLeft.class | String | no ||| Only for `menuOptionsLeft.type === 'button'` - provide a class name so you can style your buttons |
267
267
| menuOptionsLeft.isLinkAction | Boolean | no | false || When `true` , the `path` option of the `menuOption` will not fire - instead, you'll be able to register for the `@vnb-item-clicked` event which will spit you out the `text` value of your `menuOption` . That way, you can do an action you may want to trigger. |
0 commit comments