Skip to content

Commit

Permalink
feat(MdListItemLink): add all <a> attributes supported (#1328)
Browse files Browse the repository at this point in the history
`<a>` attributes `download`, `hreflang`, `ping`, `rel`, `type` supported

fix #1320
  • Loading branch information
VdustR authored and marcosmoura committed Dec 22, 2017
1 parent b7094cb commit c9a2b9f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/components/MdList/MdListItem/MdListItemLink.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<a class="md-list-item-link" v-bind="{ href, disabled, target }">
<a class="md-list-item-link" v-bind="$props">
<md-list-item-content :md-disabled="isDisabled">
<slot />
</md-list-item-content>
Expand All @@ -13,8 +13,13 @@
name: 'MdListItemLink',
mixins: [MdListItemMixin],
props: {
download: String,
href: String,
target: String
hreflang: String,
ping: String,
rel: String,
target: String,
type: String
}
}
</script>

0 comments on commit c9a2b9f

Please sign in to comment.