LdHelp 温馨提示
带有el-tooltip
的温馨提示,
使用
<ld-help content='提示内容'></ld-help>
props
属性 | 类型 | 默认值 | 可选值 | 说明 |
---|---|---|---|---|
content | string | - | - | 提示内容 |
icon | icon-question | - | - | svg图标,依赖IconSvg组件 |
iconSize | 1em | - | - | svg图标大小,详见IconSvg组件 |
iconColor | #606266 | - | - | svg图标颜色,详见IconSvg组件 |
placement | string | top | - | Tooltip 组件出现的位置,详见el-tooltip |
rawContent | boolean | false | - | content 中的内容是否作为 HTML 字符串处理 |
effect | string | dark | - | Tooltip 主题,内置了 dark / light 两种 |
popperClass | string | - | - | 为 Tooltip 的 popper 添加自定义类名 |