docs(TreeSelect): add onDropdownVisibleChange api description

This commit is contained in:
atzcl 2020-11-16 21:28:03 +08:00
parent 4b1000fb7f
commit 8e7c5b5e0a
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ Tree selection control.
| value | To set the current selected treeNode(s) | string \| string\[] | - | |
| virtual | Disable virtual scroll when set to false | boolean | true | 4.1.0 |
| onChange | A callback function, can be executed when selected treeNodes or input value change | function(value, label, extra) | - | |
| onDropdownVisibleChange | Called when dropdown open | function(open) | - | |
| onSearch | A callback function, can be executed when the search input changes | function(value: string) | - | |
| onSelect | A callback function, can be executed when you select a treeNode | function(value, node, extra) | - | |
| onTreeExpand | A callback function, can be executed when treeNode expanded | function(expandedKeys) | - | |

View File

@ -56,6 +56,7 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Ax4DA0njr/TreeSelect.svg
| value | 指定当前选中的条目 | string \| string\[] | - | |
| virtual | 设置 false 时关闭虚拟滚动 | boolean | true | 4.1.0 |
| onChange | 选中树节点时调用此函数 | function(value, label, extra) | - | |
| onDropdownVisibleChange | 展开下拉菜单的回调 | function(open) | - | |
| onSearch | 文本框值变化时回调 | function(value: string) | - | |
| onSelect | 被选中时调用 | function(value, node, extra) | - | |
| onTreeExpand | 展示节点时调用 | function(expandedKeys) | - | |