Skip to content
Permalink
Browse files

feat(MdListItemLink): add all `<a>` attributes supported (#1328)

`<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 c9a2b9f298e3c32ce469bad6dd8aef04ef880292
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/components/MdList/MdListItem/MdListItemLink.vue
@@ -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>
@@ -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.
You can’t perform that action at this time.