跳到主要内容

eo-divider

<eo-divider>

分割线构件 eo-divider

Examples

Basic

Playground

orientation

Playground

虚线 dashed

Playground

type vertical

Playground

type radiation

Playground

Properties

NameDescriptionTypeDefaultRequired
orientation

标题位置,在horizontal类型的分割线中使用

OrientationType center
dashed

是否虚线

boolean false
type

水平|垂直|放射类型,注意radiation是个特殊的类型,该样式是特定的

dividerType "horizontal"
proportion

当用于数值显示的情况,eg: 如果要展示"1/3",那么传入就是[1,3], 该字段只适配于 type 为 radiation

[number, number]
dividerStyle

分割线自定义样式

CSSProperties

Type references

OrientationType

"left" | "center" | "right"

dividerType

"horizontal" | "vertical" | "radiation"