Divider 分隔线
区隔内容的分割线。
基本用法
对不同段落的文本进行分割。
我在窗上这一早上,站在这一 moment,世界像一个过客,对我 nods,然后走了。 有一天,我在窗上看了看,发现有个人在等我。
设置文案
可以在分割线上自定义文本内容。
What you are you do not see, what you see is your shadow. My wishes are fools, they shout across thy song, my Master. Let me but listen. I cannot choose the best. The best chooses me.
Rabindranath Tagore
Rabindranath Tagore
虚线
可以设置分隔符的样式。
What language is thine, O sea?The language of eternal question.
垂直分隔线
RainHomeGrass
API
Attributes
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| content-position | 分隔符文案位置 | left | right | center | center |
| dashed | 是否虚线 | boolean | false |
| vertical | 是否垂直 | boolean | false |
Slots
| 名称 | 说明 |
|---|---|
| default | 自定义分隔符文案 |