u-link.vue

0.2.3 • Public • Published

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/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.

@click

@navigate

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i u-link.vue

      Weekly Downloads

      2

      Version

      0.2.3

      License

      MIT

      Last publish

      Collaborators

      • rainfore