<u-button>Button</u-button>
<u-button disabled>Disabled</u-button>
<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>
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 |
Disable the button |
Slot | Description |
---|---|
(default) | Hold the text and can contain HTML |
Inherit all events from <a>
element.