ant-design/components/popconfirm/demo/placement.md

23 lines
526 B
Markdown
Raw Normal View History

## zh-CN
2023-05-30 22:15:23 +08:00
位置有十二个方向。如需箭头指向目标元素中心,可以设置 `arrow: { pointAtCenter: true }`
2015-06-24 19:20:47 +08:00
## en-US
2023-05-30 22:15:23 +08:00
There are 12 `placement` options available. Use `arrow: { pointAtCenter: true }` if you want the arrow to point at the center of target.
2015-06-24 19:20:47 +08:00
<style>
#popconfirm-demo-placement .ant-btn {
margin-left: 0;
2016-10-07 15:20:10 +08:00
margin-right: 8px;
margin-bottom: 8px;
width: 70px;
2017-10-16 19:53:46 +08:00
text-align: center;
padding: 0;
}
#popconfirm-demo-placement .ant-btn-rtl {
margin-left: 8px;
margin-right: 0;
}
2015-06-24 19:20:47 +08:00
</style>