ant-design-vue/components/divider/demo/orientation.md

27 lines
670 B
Markdown
Raw Normal View History

2018-04-07 06:29:59 +00:00
<cn>
#### 标题位置
修改分割线标题的位置。
</cn>
<us>
#### Orientation of title
Set orientation of divider to left or right.
</us>
2019-10-09 10:32:23 +00:00
```tpl
2018-04-07 06:29:59 +00:00
<template>
<div>
<a-divider orientation="left">Left Text</a-divider>
2019-09-28 12:45:07 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
2018-04-07 06:29:59 +00:00
<a-divider orientation="right">Right Text</a-divider>
2019-09-28 12:45:07 +00:00
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista
probare, quae sunt a te dicta? Refert tamen, quo modo.
</p>
2018-04-07 06:29:59 +00:00
</div>
</template>
```