0.0.1 • Published 5 years ago

button-md v0.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

1、使用方法:

​ npm install button-md -S

​ 在入口函数里面引入并全局使用

​ import Button from 'button-md'

​ Vue.use(Button ); 在页面直接使用 2、参数说明:

参数说明类型可选值默认值
size尺寸stringmedium / small / mini
type类型stringprimary / success / warning / danger / info / text
plain是否朴素按钮booleanfalse
round是否圆角按钮booleanfalse
circle是否圆形按钮booleanfalse
loading是否加载中状态booleanfalse
disabled是否禁用状态booleanfalse
icon图标类名string
autofocus是否默认聚焦booleanfalse
native-type原生 type 属性stringbutton / submit / resetbutton