Components
- Introduction
- vc-button
- vc-icon
- vc-checkbox
- vc-radio
- vc-buttonGroup
- vc-cascader
- vc-datepicker
- timepicker
- vc-easyclearinput
- vc-inputNumber
- vc-select
- vc-alert
- vc-badge
- vc-card
- vc-carousel
- vc-dropdown
- vc-toast
- vc-notification
- vc-modal
- vc-dialog
- vc-confrim
- vc-popover
- vc-tooltip
- vc-progress
- vc-table
- vc-tag
- vc-breadcrumb
- vc-pagination
- vc-steps
- vc-tabs
- vc-backtop
- vc-loading
- vc-panel
vc-button
Install
|
|
|
|
Usage
props
type
type of button
- default:
确定
- enum:
default | success | info | primary | warning | danger
- type:
String
htmlType
valid html type attribute
- default:
button
- type:
String
label
button label
- type:
String
shape
shape of button icon
- default:
circle
- enum:
circle | other
- type:
String
disabled
button disabled
- default:
false
- type:
Boolean
readonly
button readonly
- default:
false
- type:
Boolean
size
size of button
- default
middle
- enum:
large | middle | small | mini
- type:
String
loading
is loading state?
- default:
false
- type:
Boolean
loadingText
loadingText
- default:
加载中...
- type:
String
style
- type:
Object
example
|
|