Skip to content

Commit c9a2b9f

Browse files
VdustRmarcosmoura
authored andcommitted
feat(MdListItemLink): add all <a> attributes supported (#1328)
`<a>` attributes `download`, `hreflang`, `ping`, `rel`, `type` supported fix #1320
1 parent b7094cb commit c9a2b9f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/components/MdList/MdListItem/MdListItemLink.vue

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<a class="md-list-item-link" v-bind="{ href, disabled, target }">
2+
<a class="md-list-item-link" v-bind="$props">
33
<md-list-item-content :md-disabled="isDisabled">
44
<slot />
55
</md-list-item-content>
@@ -13,8 +13,13 @@
1313
name: 'MdListItemLink',
1414
mixins: [MdListItemMixin],
1515
props: {
16+
download: String,
1617
href: String,
17-
target: String
18+
hreflang: String,
19+
ping: String,
20+
rel: String,
21+
target: String,
22+
type: String
1823
}
1924
}
2025
</script>

0 commit comments

Comments
 (0)