@opensig/opendesign
Version:
<p align="center"><img src="../docs/public/opendesign-logo-light.png"/></p> <h1 align="center">opendesign</h1> <p align="center">一个 Vue 3 组件库</p> <p align="center"><b>皮肤可定制,使用 TypeScript</b></p>
53 lines (52 loc) • 956 B
JavaScript
const checkboxGroupProps = {
/**
* @zh-CN 多选框组双向绑定值
* @en-US checkbox group two-way binding value
*/
modelValue: {
type: Array
},
/**
* @zh-CN 非受控状态时,多选框组默认值
* @en-US Default value when not controlled
*/
defaultValue: {
type: Array,
default: () => []
},
/**
* @zh-CN 是否禁用多选框组
* @en-US Whether to disable the checkbox group
*/
disabled: {
type: Boolean,
default: false
},
/**
* @zh-CN 多选框组布局方向
* @en-US Layout direction of checkbox group
*/
direction: {
type: String,
default: "h"
},
/**
* @zh-CN 最少选择数量
* @en-US Minimum number of selections
*/
min: {
type: Number,
default: void 0
},
/**
* @zh-CN 最多选择数量
* @en-US Maximum number of selections
*/
max: {
type: Number,
default: void 0
}
};
export {
checkboxGroupProps
};