图标选择器
组件介绍
IconSelect 是图标选择器组件,可用在表单中用来选择本地图标。
组件运行时加载/src/assets/icons/svg目录下所有图标供使用者选择。
属性
| 属性名 | 描述 | 默认值 |
|---|---|---|
| v-model/modelValue | 图标name | |
| type | 'button' | 'input' | 'input' |
| width | 宽度 | '200px' |
| popoverWidth | 弹窗宽度 | '' |
| scrollbarHeight | 弹窗高度 | '200px' |
| placement | 弹窗位置 | 'bottom' |