Browse Source

doc: add dropdownVisibleChange, close #5195

pull/5202/head
tangjinzhou 3 years ago
parent
commit
3d2a80b3bb
  1. 13
      components/tree-select/index.en-US.md
  2. 13
      components/tree-select/index.zh-CN.md

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

@ -55,12 +55,13 @@ Tree selection control.
### Events
| Events Name | Description | Arguments |
| --- | --- | --- |
| change | A callback function, can be executed when selected treeNodes or input value change | function(value, label, extra) |
| search | A callback function, can be executed when the search input changes. | function(value: string) |
| select | A callback function, can be executed when you select a treeNode. | function(value, node, extra) |
| treeExpand | A callback function, can be executed when treeNode expanded | function(expandedKeys) |
| Events Name | Description | Arguments | Version |
| --- | --- | --- | --- |
| change | A callback function, can be executed when selected treeNodes or input value change | function(value, label, extra) | |
| search | A callback function, can be executed when the search input changes. | function(value: string) | |
| select | A callback function, can be executed when you select a treeNode. | function(value, node, extra) | |
| treeExpand | A callback function, can be executed when treeNode expanded | function(expandedKeys) | |
| dropdownVisibleChange | Called when dropdown open | function(open) | 3.0 |
### Tree Methods

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

@ -56,12 +56,13 @@ cover: https://gw.alipayobjects.com/zos/alicdn/Ax4DA0njr/TreeSelect.svg
### 事件
| 事件名称 | 说明 | 回调参数 |
| ---------- | ---------------------- | ----------------------------- |
| change | 选中树节点时调用此函数 | function(value, label, extra) |
| search | 文本框值变化时回调 | function(value: string) |
| select | 被选中时调用 | function(value, node, extra) |
| treeExpand | 展开节点时调用 | function(expandedKeys) |
| 事件名称 | 说明 | 回调参数 | 版本 |
| --------------------- | ---------------------- | ----------------------------- | ---- |
| change | 选中树节点时调用此函数 | function(value, label, extra) | |
| search | 文本框值变化时回调 | function(value: string) | |
| select | 被选中时调用 | function(value, node, extra) | |
| treeExpand | 展开节点时调用 | function(expandedKeys) | |
| dropdownVisibleChange | 展开下拉菜单的回调 | function(open) | 3.0 |
### Tree 方法

Loading…
Cancel
Save