0.2.3 • Published 7 years ago
u-link.vue v0.2.3
Link
Examples
Basic
<u-link href="#">Link</u-link>
<u-link href="#">Details</u-link>
Disabled
<u-link href="#" disabled>Link</u-link>
href
vs to
<u-link href="https://github.com/vusion/vusion" target="_blank">href</u-link>
<u-link to="/some/router/path">to</u-link>
API
Attrs/Props
Attr/Prop | Type | Default | Description |
---|---|---|---|
href | String | href property of link | |
target | String | (native property) | |
to | String | Object | to property of vue-router | |
replace | Boolean | false | |
append | Boolean | false | |
disabled | Boolean | false | Prevent action of this link |
Slots
Slot | Description |
---|---|
(default) | Hold the text and can contain HTML |
Events
$listeners
Inherit all events from <a>
element.