0.2.3 • Published 7 years ago

u-link.vue v0.2.3

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Link

Examples

Basic

<u-link href="#">Link</u-link>&nbsp;
<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>&nbsp;
<u-link to="/some/router/path">to</u-link>

API

Attrs/Props

Attr/PropTypeDefaultDescription
hrefStringhref property of link
targetString(native property)
toString | Objectto property of vue-router
replaceBooleanfalse
appendBooleanfalse
disabledBooleanfalsePrevent action of this link

Slots

SlotDescription
(default)Hold the text and can contain HTML

Events

$listeners

Inherit all events from <a> element.

@click

@navigate