diff --git a/README.md b/README.md index 50c0092..5c1ec43 100755 --- a/README.md +++ b/README.md @@ -152,6 +152,13 @@ export default { path: { name: "reception"}, iconLeft: ' ', }, + { + type: "link", + text: "GitHub", + path: "https://github.com/", + isUsingLink: true, + linkTarget: "_blank", + }, ] }, { diff --git a/src/components/DesktopMenuItemButton.vue b/src/components/DesktopMenuItemButton.vue index bde0f63..7ff154f 100644 --- a/src/components/DesktopMenuItemButton.vue +++ b/src/components/DesktopMenuItemButton.vue @@ -5,6 +5,8 @@ :class="['vnb__menu-options__option__button', 'vnb-button', option.class]" :aria-label="option.text" :isLinkAction="option.isLinkAction ? true : false" + :isUsingLink="option.isUsingLink" + :linkTarget="option.linkTarget" @click="$emit('vnb-item-clicked', option.text)" >