ans-ui
Version:
A vue-based UI components library for analysys
29 lines (23 loc) • 1.09 kB
Markdown
## Button
常用的操作按钮
### Button props
属性 | 说明 | 类型 | 可选值 | 默认值
--- | --- | --- | --- | ---
title | 标题 | String / DOM | - | -
type | 类型 | String | primary、ghost、dashed、text、info、success、warning、error | -
shape | 形状 | String | circle或者不设置 | -
size | 大小 | String | large、small、default、xsmall | -
loading | 是否为加载中状态 | Boolean | - | -
disabled | 是否禁用 | Boolean | - | -
visible | 在按钮组中,按钮是否显示 | Boolean | - | true
html-type | 设置button原生的type | String | button、submit、reset | button
icon | 按钮的图标类型 | String | - | -
long | 开启后,长度为 100% | Boolean | - | false
value | 按钮的值,可用于双向绑定 | any | - | -
ButtonGroup props
属性 | 说明 | 类型 | 可选值 | 默认值
--- | --- | --- | --- | ---
size | 大小 | String | large、default、small、xsmall | -
shape | 形状 | String | - | -
vertical | 是否纵向排列按钮组 | Boolean | - | -
value | 按钮的值,可用于双向绑定 | any | - | -