From 3d2a80b3bb93aa57adc1f39c966cab875a105032 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 22 Jan 2022 14:55:36 +0800 Subject: [PATCH] doc: add dropdownVisibleChange, close #5195 --- components/tree-select/index.en-US.md | 13 +++++++------ components/tree-select/index.zh-CN.md | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/components/tree-select/index.en-US.md b/components/tree-select/index.en-US.md index 9b19e8ea0..c82b51211 100644 --- a/components/tree-select/index.en-US.md +++ b/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 diff --git a/components/tree-select/index.zh-CN.md b/components/tree-select/index.zh-CN.md index d6a30beca..0be79387a 100644 --- a/components/tree-select/index.zh-CN.md +++ b/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 方法