外观
EpLine
Parameter 参数
| 参数 | 类型 | 必选 | 描述 | 默认值 |
|---|---|---|---|---|
| borderWidth | string | false | 边框宽度 | 1px |
| color | string | false | 边框颜色 | - |
| dashed | boolean | false | 是否为虚线 | - |
| direction | horizontal | vertical | false | 分割线方向 | horizontal |
| linear | boolean | false | 是否使用渐变 | |
只有在position=center或者没有default slot时有效 | - | |||
| margin | string | false | 边距 | 8px |
| offset | string | number | false | 偏移量 | |
当设置position=center时,该值无效 | - | |||
| position | ILineTextPos | false | 文本位置 | - |
Slots 插槽
| 插槽名 | 描述 |
|---|---|
default | - |
