0.2.2 • Published 7 years ago

u-button.vue v0.2.2

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

Button

Examples

Basic

<u-button>Button</u-button>

Disabled

<u-button disabled>Disabled</u-button>

Link

<u-linear-layout>
    <u-button href="https://github.com/vusion/vusion" target="_blank">href</u-button>
    <u-button to="/some/router/path">to</u-button>
    <u-button href="https://github.com/vusion/vusion" disabled>href</u-button>
</u-linear-layout>

API

Attrs/Props

Attr/PropTypeDefaultDescription
hrefStringhref property of link
targetString(native property)
toString | Objectto property of vue-router
replaceBooleanfalse
appendBooleanfalse
disabledBooleanfalseDisable the button

Slots

SlotDescription
(default)Hold the text and can contain HTML

Events

$listeners

Inherit all events from <a> element.

@click

@navigate

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago