1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-06-09 07:10:03 +08:00
vue-component-creater-ui/src/libs/presetAttribute.js
2021-04-09 20:06:44 +08:00

36 lines
709 B
JavaScript

export default {
"el-button": {
"@click": "onButtonClick",
size: "small",
},
"el-radio-group": {
"v-model": "radio",
},
"el-radio": {
":label": 0,
},
"el-checkbox-group": {
},
"el-link": {
"@click": "onClickLink",
},
"el-select": {
size: "small",
},
"el-input": {
"v-model": "input",
placeholder: "请输入内容",
size: "small",
class: "input",
},
"el-pagination": {
"@size-change": "handleSizeChange",
"@current-change": "handleCurrentChange",
":current-page": "currentPage",
":page-sizes": "[10, 20, 50, 100]",
":page-size": "10",
layout: "total, sizes, prev, pager, next, jumper",
":total": "234",
},
};