Skip to content

Commit cac6507

Browse files
committed
docs: add align #6885
1 parent 95fa254 commit cac6507

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

components/dropdown/index.en-US.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ When there are more than a few options to choose from, you can wrap them in a `D
1616

1717
### Dropdown
1818

19-
| Property | Description | Type | Default | |
19+
| Property | Description | Type | Default | Version |
2020
| --- | --- | --- | --- | --- |
21+
| align | this value will be merged into placement's config, please refer to the settings [dom-align](https://github.com/yiminghe/dom-align) | Object | - | |
2122
| arrow | Whether the dropdown arrow should be open | boolean \| { pointAtCenter: boolean } | false | 3.3.0 |
2223
| destroyPopupOnHide | Whether destroy dropdown when hidden | boolean | false | |
2324
| disabled | whether the dropdown menu is disabled | boolean | - | |

components/dropdown/index.zh-CN.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ coverDark: https://mdn.alipayobjects.com/huamei_7uahnr/afts/img/A*5qm4S4Zgh2QAAA
2222

2323
| 参数 | 说明 | 类型 | 默认值 | |
2424
| --- | --- | --- | --- | --- |
25+
| align | 该值将合并到 placement 的配置中,设置参考 [dom-align](https://github.com/yiminghe/dom-align) | Object || |
2526
| arrow | 下拉框箭头是否显示 | boolean \| { pointAtCenter: boolean } | false | 3.3.0 |
2627
| destroyPopupOnHide | 关闭后是否销毁 Dropdown | boolean | false | 3.0 |
2728
| disabled | 菜单是否禁用 | boolean | - | |

0 commit comments

Comments
 (0)