Skip to content

Commit 3d2a80b

Browse files
committed
doc: add dropdownVisibleChange, close #5195
1 parent 41fe8be commit 3d2a80b

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

components/tree-select/index.en-US.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ Tree selection control.
5555

5656
### Events
5757

58-
| Events Name | Description | Arguments |
59-
| --- | --- | --- |
60-
| change | A callback function, can be executed when selected treeNodes or input value change | function(value, label, extra) |
61-
| search | A callback function, can be executed when the search input changes. | function(value: string) |
62-
| select | A callback function, can be executed when you select a treeNode. | function(value, node, extra) |
63-
| treeExpand | A callback function, can be executed when treeNode expanded | function(expandedKeys) |
58+
| Events Name | Description | Arguments | Version |
59+
| --- | --- | --- | --- |
60+
| change | A callback function, can be executed when selected treeNodes or input value change | function(value, label, extra) | |
61+
| search | A callback function, can be executed when the search input changes. | function(value: string) | |
62+
| select | A callback function, can be executed when you select a treeNode. | function(value, node, extra) | |
63+
| treeExpand | A callback function, can be executed when treeNode expanded | function(expandedKeys) | |
64+
| dropdownVisibleChange | Called when dropdown open | function(open) | 3.0 |
6465

6566
### Tree Methods
6667

components/tree-select/index.zh-CN.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Ax4DA0njr/TreeSelect.svg
5656

5757
### 事件
5858

59-
| 事件名称 | 说明 | 回调参数 |
60-
| ---------- | ---------------------- | ----------------------------- |
61-
| change | 选中树节点时调用此函数 | function(value, label, extra) |
62-
| search | 文本框值变化时回调 | function(value: string) |
63-
| select | 被选中时调用 | function(value, node, extra) |
64-
| treeExpand | 展开节点时调用 | function(expandedKeys) |
59+
| 事件名称 | 说明 | 回调参数 | 版本 |
60+
| --------------------- | ---------------------- | ----------------------------- | ---- |
61+
| change | 选中树节点时调用此函数 | function(value, label, extra) | |
62+
| search | 文本框值变化时回调 | function(value: string) | |
63+
| select | 被选中时调用 | function(value, node, extra) | |
64+
| treeExpand | 展开节点时调用 | function(expandedKeys) | |
65+
| dropdownVisibleChange | 展开下拉菜单的回调 | function(open) | 3.0 |
6566

6667
### Tree 方法
6768

0 commit comments

Comments
 (0)