Skip to content

Divider 分割线 ​

一条分割内容的分割线

基本用法 ​

分割文本

自定义内容 ​

自定义分割线中显示的内容

虚线 ​

设置不同的样式

垂直分割线 ​

API ​

Attributes ​

参数说明类型默认值
direction设置分割线方向'horizontal' | 'vertical'horizontal
border-style分割线样式'none' | 'solid' | 'hidden' | 'dashed' | ... css/border-stylesolid
content-position自定义分隔线内容的位置'left' | 'right' | 'center' center

Slots ​

名称说明
default自定义分割线的内容