qt-public-ui
Version:
新设计规范下业务组件库
15 lines (13 loc) • 1 kB
Markdown
## EditName
| 参数 | 说明 | 类型 | 默认值 |
| ----------- | ---- | ---------------- | ----------- |
| title | 标题 | string | '' |
| value | 输入框中的内容 | string | '' |
| width | 输入框宽度 | string | 240px |
| iconType | 图标类型 | string | umicon-edit |
| okText | 确定按钮的文案 | string | 确认 |
| cancelText | 取消按钮的文案 | string | 取消 |
| placeholder | 输入框占位符 | string | 请输入 |
| placement | 气泡框位置,可选 top left right bottom topLeft topRight bottomLeft bottomRight leftTop leftBottom rightTop rightBottom | string | top |
| checkName | 检测输入内容的函数,返回错误提示内容 | Function | - |
| onChange | 改变输入内容时调用此函数 | Function | - |