0.0.24 • Published 7 years ago
paji-components v0.0.24
paji-components
一些自己用的组件:
button 组件
使用方法:
<Template>
<Button
type="primary"
size="default"
@click="clickFunc"
>
按钮
</Button>
</Template>
<script>
import { Button } from 'paji-components'
export default {
components: {
Button
},
methods: {
clickFunc(e) {
console.log(e);
}
}
};
</script>参数:
| 属性名 | 解释 | 属性值 | 备注 |
|---|---|---|---|
| type | button 按钮的颜色 | primary,submit,default | 默认: primary |
| size | button 的大小 | large,default,small | 默认:default |
| disabled | button 是否可用 | true,false | 默认:false |
| 事件 | |||
| click | 点击事件 | function |
0.0.24
7 years ago
0.0.23
7 years ago
0.0.22
7 years ago
0.0.21
7 years ago
0.0.20
7 years ago
0.0.19
7 years ago
0.0.18
7 years ago
0.0.17
7 years ago
0.0.16
7 years ago
0.0.15
7 years ago
0.0.14
7 years ago
0.0.13
7 years ago
0.0.12
7 years ago
0.0.11
7 years ago
0.0.10
7 years ago
0.0.9
7 years ago
0.0.8
7 years ago
0.0.7
7 years ago
0.0.6
7 years ago
0.0.5
7 years ago
0.0.4
7 years ago
0.0.3
7 years ago
0.0.2
7 years ago
0.0.1
7 years ago